Closed iamgreaser closed 8 years ago
This may be caused by a wrong number of buffer copies for the image staging part.
Try to change this line in gl_texmgr.c:
vkCmdCopyBufferToImage(command_buffer, staging_buffer, glt->image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, num_regions, regions);
to this:
vkCmdCopyBufferToImage(command_buffer, staging_buffer, glt->image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, num_mips, regions);
And see if this works.
The current code for image staging causes validation errors for images with more than one mip level, which may cause the crash in the Intel driver. At least that's what the "isl_surf_get_image_offset_el" in your call stack may hint at.
I'll try to push a PR later today after work to fix this.
All working now. Thanks!
This happens when I try to start a game or run a demo.
Running very recent Mesa git i965 drivers on Skylake on Linux (git-126bd15 according to glxinfo). These drivers are compiled with
--enable-debug
.Vulkan does work in general.
Using the registered version of the files as available on Steam.
Attempting to build a proper debug build results in an error during compilation so I may have to update my headers at some stage.
Relevant backtrace: