KhronosGroup/Vulkan-LoaderAndValidationLayers

Validation error during pipeline creation for VK_KHR_shader_draw_parameters with Vulkan 1.1

jzulauf-lunarg opened this issue · 1 comments

From LunarXchange #762

Creating a pipeline with a SPIR-V 1.0 shader that uses the SPV_KHR_shader_draw_parameters extension results in an error saying the extension is not present, which is correct, but the device was created with the 1.1 feature bit enabled instead, so this should work.

After a bit of testing, there seems to be some more stuff missing, but for creating a shader module:

With the shader in SPIR-V 1.3 with debug info, i get an error about OpCode 330 (OpModuleProcessed) not being supported
With the shader in SPIR-V 1.3 without debug info, i get an error about the Capability DrawParameters not being supported in Vulkan 1.0
I get the same error for the Capability MultiView.

It looks like the promoted extension list is incomplete in codegen.

Fix on master