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 7e9ddf7..b830361 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