summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-11-26 15:08:19 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:18:57 -0800
commitf521a3c543ab1775603e1ad85c72e77812e039b5 (patch)
treea27cb777e3bf35e1811c01cae4eb426efb28f42f /src/glsl/nir/nir.h
parent30c4678f64800fbe0278a19aa0895b55411dd9b3 (diff)
SQUASH: Use the enum for the variable mode
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 7e9ddf755aa..b830361f64f 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -149,7 +149,7 @@ typedef struct {
*
* \sa nir_variable_mode
*/
- unsigned mode:4;
+ nir_variable_mode mode:4;
/**
* Interpolation mode for shader inputs / outputs