nir/nir_variable: Add a descriptor set field
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 31 Aug 2015 22:34:56 +0000 (15:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 1 Sep 2015 00:05:23 +0000 (17:05 -0700)
We need this for SPIR-V

src/glsl/nir/nir.h

index 2ad739523baa189d346a2a1b4410d9b2ca2c4d4a..4c60dbd645a1a97d99776f4b6b58624123f8ee87 100644 (file)
@@ -296,6 +296,11 @@ typedef struct {
        */
       int index;
 
+      /**
+       * Descriptor set binding for sampler or UBO.
+       */
+      int descriptor_set;
+
       /**
        * Initial binding point for a sampler or UBO.
        *