mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 02:00:22 +01:00
spirv: Add support for VK_EXT_descriptor_indexing uniform indexing caps.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
b5e04e9217
commit
c48feaf2d1
2 changed files with 7 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ struct spirv_supported_capabilities {
|
|||
bool subgroup_vote;
|
||||
bool gcn_shader;
|
||||
bool trinary_minmax;
|
||||
bool descriptor_array_dynamic_indexing;
|
||||
};
|
||||
|
||||
typedef struct shader_info {
|
||||
|
|
|
|||
|
|
@ -3384,6 +3384,12 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spv_check_supported(shader_viewport_index_layer, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityInputAttachmentArrayDynamicIndexingEXT:
|
||||
case SpvCapabilityUniformTexelBufferArrayDynamicIndexingEXT:
|
||||
case SpvCapabilityStorageTexelBufferArrayDynamicIndexingEXT:
|
||||
spv_check_supported(descriptor_array_dynamic_indexing, cap);
|
||||
break;
|
||||
|
||||
default:
|
||||
vtn_fail("Unhandled capability");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue