<div dir="ltr">Thanks for catching this! It came up before when I reworked function calls but, thanks to the order in which things got merged, it had to be done in your series.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 11:56 PM, Jordan Justen <span dir="ltr"><<a href="mailto:jordan.l.justen@intel.com" target="_blank">jordan.l.justen@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Prevents:<br>
<br>
../../../../../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'<br>
nir_variable_mode mode:4;<br>
<br>
Signed-off-by: Jordan Justen <<a href="mailto:jordan.l.justen@intel.com">jordan.l.justen@intel.com</a>><br>
---<br>
src/compiler/nir/nir.h | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h<br>
index bbf0ff3..7d2bd03 100644<br>
--- a/src/compiler/nir/nir.h<br>
+++ b/src/compiler/nir/nir.h<br>
@@ -173,7 +173,7 @@ typedef struct nir_variable {<br>
*<br>
* \sa nir_variable_mode<br>
*/<br>
- nir_variable_mode mode:4;<br>
+ nir_variable_mode mode:5;<br>
<br>
/**<br>
* Interpolation mode for shader inputs / outputs<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>