spirv: Add mesh_shading capability for EXT_mesh_shader.
Indicates support for the EXT_mesh_shader SPIR-V capabilities. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18366>
This commit is contained in:
@@ -74,6 +74,7 @@ struct spirv_supported_capabilities {
|
||||
bool kernel_image_read_write;
|
||||
bool linkage;
|
||||
bool literal_sampler;
|
||||
bool mesh_shading;
|
||||
bool mesh_shading_nv;
|
||||
bool min_lod;
|
||||
bool multiview;
|
||||
|
||||
@@ -4841,6 +4841,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
||||
spv_check_supported(float64_atomic_min_max, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityMeshShadingEXT:
|
||||
spv_check_supported(mesh_shading, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityMeshShadingNV:
|
||||
spv_check_supported(mesh_shading_nv, cap);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user