spirv: Handle ShaderLayer and ShaderViewportIndex capabilities
SPIR-V 1.5 incorported the SPV_EXT_shader_viewport_index_layer but splitting into the two capabilities above. Just handle them as we support the extension already. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
f6392e38d8
commit
9cf1bfcdd7
1 changed files with 2 additions and 0 deletions
|
|
@ -3573,6 +3573,8 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spv_check_supported(storage_16bit, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityShaderLayer:
|
||||
case SpvCapabilityShaderViewportIndex:
|
||||
case SpvCapabilityShaderViewportIndexLayerEXT:
|
||||
spv_check_supported(shader_viewport_index_layer, cap);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue