mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
spirv: Add support for runtime descriptor array cap.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
c48feaf2d1
commit
5f7ebb5206
2 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ struct spirv_supported_capabilities {
|
|||
bool gcn_shader;
|
||||
bool trinary_minmax;
|
||||
bool descriptor_array_dynamic_indexing;
|
||||
bool runtime_descriptor_array;
|
||||
};
|
||||
|
||||
typedef struct shader_info {
|
||||
|
|
|
|||
|
|
@ -3390,6 +3390,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spv_check_supported(descriptor_array_dynamic_indexing, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityRuntimeDescriptorArrayEXT:
|
||||
spv_check_supported(runtime_descriptor_array, cap);
|
||||
break;
|
||||
|
||||
default:
|
||||
vtn_fail("Unhandled capability");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue