[Mesa-dev] [PATCH 088/133] nir: Use the enum for the variable mode

Jason Ekstrand jason at jlekstrand.net
Mon Dec 15 22:11:33 PST 2014


---
 src/glsl/nir/nir.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index b04a137..fc16cb5 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -155,7 +155,7 @@ typedef struct {
        *
        * \sa nir_variable_mode
        */
-      unsigned mode:4;
+      nir_variable_mode mode:4;
 
       /**
        * Interpolation mode for shader inputs / outputs
-- 
2.2.0



More information about the mesa-dev mailing list