aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2018-09-24 06:46:48 -0700
committerMarge Bot <[email protected]>2020-01-23 00:18:57 +0000
commit4fcddb55f27e29d78c6937c20d91e7f9962ce875 (patch)
treef6f40bb0d6fcbfa3f4048074beb56b667c3077e2 /src/compiler/spirv
parentaa56934e2ae75b31fbc22a5e03f95628c38f8d84 (diff)
spirv: Add support for IntegerFunctions2INTEL capability
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
Diffstat (limited to 'src/compiler/spirv')
-rw-r--r--src/compiler/spirv/spirv_to_nir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index fc74ab661ee..6df936b44f9 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -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);