spirv: Add support for IntegerFunctions2INTEL capability
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
This commit is contained in:
@@ -53,6 +53,7 @@ struct spirv_supported_capabilities {
|
||||
bool int16;
|
||||
bool int64;
|
||||
bool int64_atomics;
|
||||
bool integer_functions2;
|
||||
bool kernel;
|
||||
bool min_lod;
|
||||
bool multiview;
|
||||
|
@@ -4119,6 +4119,10 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
||||
spv_check_supported(amd_image_read_write_lod, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityIntegerFunctions2INTEL:
|
||||
spv_check_supported(integer_functions2, cap);
|
||||
break;
|
||||
|
||||
default:
|
||||
vtn_fail("Unhandled capability: %s (%u)",
|
||||
spirv_capability_to_string(cap), cap);
|
||||
|
Reference in New Issue
Block a user