Description
New vulkan validation errors on the 3d wgpu examples and bevy.
Repro steps
Update vulkan validation layers to 1.4.313
Run any of the water/cube/skybox/shadow examples.
Extra materials
[2025-05-16T21:22:45Z ERROR wgpu_hal::vulkan::instance] VALIDATION [VUID-StandaloneSpirv-None-10684 (0xb210f7c2)]
vkCreateShaderModule(): pCreateInfo->pCode (spirv-val produced an error):
Invalid explicit layout decorations on type for operand '478[%478]'
%result = OpVariable %_ptr_Function_VertexOutput Function %479
The Vulkan spec states: All variables must have valid explicit layout decorations as described in Shader Interfaces (https://vulkan.lunarg.com/doc/view/1.4.313.0/windows/antora/spec/latestappendices/spirvenv.html#VUID-StandaloneSpirv-None-10684)
[2025-05-16T21:22:45Z ERROR wgpu_hal::vulkan::instance] VALIDATION [VUID-StandaloneSpirv-None-10684 (0xb210f7c2)]
vkCreateShaderModule(): pCreateInfo->pCode (spirv-val produced an error):
Invalid explicit layout decorations on type for operand '45[%45]'
%result = OpVariable %_ptr_Function_VertexOutput Function %46
The Vulkan spec states: All variables must have valid explicit layout decorations as described in Shader Interfaces (https://vulkan.lunarg.com/doc/view/1.4.313.0/windows/antora/spec/latestappendices/spirvenv.html#VUID-StandaloneSpirv-None-10684)
Platform
Happens on both Windows and Linux, vulkan sdk 1.4.313.
Description
New vulkan validation errors on the 3d wgpu examples and bevy.
Repro steps
Update vulkan validation layers to 1.4.313
Run any of the water/cube/skybox/shadow examples.
Extra materials
Platform
Happens on both Windows and Linux, vulkan sdk 1.4.313.