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 <[email protected]>
---
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
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev