spirv: Add support for IntegerFunctions2INTEL capability
[mesa.git] / src / compiler / spirv / spirv_to_nir.c
index fc74ab661eefe0285df62e3856b2799b0717ac41..6df936b44f973b753f4522f82aaf14cc06f3f1bd 100644 (file)
@@ -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);