This crash happened after I clicked on new game and loading.
I have dumped API and related spirv shaders.
After investigation, I think the root cause is that the problematic fragment shader uses "layout(set = 1, binding = 168) uniform samplerBuffer ********ProvinceDataBuffer" which is not set in the corresponding pipeline layout (the largest binding count is 167 in the pipeline layout), thus the driver could not identify this descriptor during shader compiling.
The vertex shader and problematic fragment shader and corresponding pipeline layout are attached.
If you would like to confirm it with API dump, I suggest you could dump API with RADV (since it crashes with AMDVLK and the dump info is incomplete) and find the specific pipeline layout with the size of shader module. (size of shader module -> graphics pipeline -> pipeline layout)
Please let me know if you have any questions.
Thanks!
System info:
Operating System : Ubuntu 22.04
CPU : Ryzen7 5800X3D
RAM : 64 GB
ASIC : Radeon 7900XTX
Base : AMD Pro driver
I have dumped API and related spirv shaders.
After investigation, I think the root cause is that the problematic fragment shader uses "layout(set = 1, binding = 168) uniform samplerBuffer ********ProvinceDataBuffer" which is not set in the corresponding pipeline layout (the largest binding count is 167 in the pipeline layout), thus the driver could not identify this descriptor during shader compiling.
The vertex shader and problematic fragment shader and corresponding pipeline layout are attached.
If you would like to confirm it with API dump, I suggest you could dump API with RADV (since it crashes with AMDVLK and the dump info is incomplete) and find the specific pipeline layout with the size of shader module. (size of shader module -> graphics pipeline -> pipeline layout)
Please let me know if you have any questions.
Thanks!
System info:
Operating System : Ubuntu 22.04
CPU : Ryzen7 5800X3D
RAM : 64 GB
ASIC : Radeon 7900XTX
Base : AMD Pro driver