[Mesa-dev] [PATCH 3/9] squash: Increase nir_variable_data::mode to 5 bits
Jordan Justen
jordan.l.justen at intel.com
Tue Mar 15 06:56:59 UTC 2016
Prevents:
../../../../../src/compiler/nir/nir.h:176:30: warning: 'nir_variable::nir_variable_data::mode' is too small to hold all values of 'enum nir_variable_mode'
nir_variable_mode mode:4;
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
src/compiler/nir/nir.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index bbf0ff3..7d2bd03 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -173,7 +173,7 @@ typedef struct nir_variable {
*
* \sa nir_variable_mode
*/
- nir_variable_mode mode:4;
+ nir_variable_mode mode:5;
/**
* Interpolation mode for shader inputs / outputs
--
2.7.0
More information about the mesa-dev
mailing list