SQUASH: Use the enum for the variable mode
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 26 Nov 2014 23:08:19 +0000 (15:08 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:18:57 +0000 (07:18 -0800)
src/glsl/nir/nir.h

index 7e9ddf755aa2bba9819c7ec6cad6d5332912bbad..b830361f64fa5cbf52671d5b599cb54f8a448edf 100644 (file)
@@ -149,7 +149,7 @@ typedef struct {
        *
        * \sa nir_variable_mode
        */
-      unsigned mode:4;
+      nir_variable_mode mode:4;
 
       /**
        * Interpolation mode for shader inputs / outputs