nir/spirv: Add more capabilities
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Feb 2016 05:01:00 +0000 (21:01 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Feb 2016 05:01:00 +0000 (21:01 -0800)
src/compiler/nir/spirv/spirv_to_nir.c

index 725781f5de4b37453642696361ef3b3318a56c15..91f5c4b5186e3a9105848313733bf9d58ed5c5aa 100644 (file)
@@ -2161,11 +2161,20 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
       case SpvCapabilityMatrix:
       case SpvCapabilityShader:
       case SpvCapabilityGeometry:
+      case SpvCapabilityTessellationPointSize:
+      case SpvCapabilityGeometryPointSize:
       case SpvCapabilityUniformBufferArrayDynamicIndexing:
       case SpvCapabilitySampledImageArrayDynamicIndexing:
       case SpvCapabilityStorageBufferArrayDynamicIndexing:
       case SpvCapabilityStorageImageArrayDynamicIndexing:
       case SpvCapabilityClipDistance:
+      case SpvCapabilityImageRect:
+      case SpvCapabilitySampledRect:
+      case SpvCapabilitySampled1D:
+      case SpvCapabilityImage1D:
+      case SpvCapabilitySampledCubeArray:
+      case SpvCapabilitySampledBuffer:
+      case SpvCapabilityImageBuffer:
       case SpvCapabilityImageQuery:
          break;
       default: