<div dir="ltr">I'm not so sure we can sure about this one. I think we also somewhat rely on being able to memset ir_variable and nir_variable to zero as well.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 19, 2016 at 4:09 PM, Timothy Arceri <span dir="ltr"><<a href="mailto:timothy.arceri@collabora.com" target="_blank">timothy.arceri@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Now that the InterpQualifier array has been removed we don't need to<br>
bother with this.<br>
---<br>
src/compiler/shader_enums.h | 5 +----<br>
1 file changed, 1 insertion(+), 4 deletions(-)<br>
<br>
diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h<br>
index b6e048e..aa97691 100644<br>
--- a/src/compiler/shader_enums.h<br>
+++ b/src/compiler/shader_enums.h<br>
@@ -489,13 +489,10 @@ const char *gl_system_value_name(gl_<wbr>system_value sysval);<br>
/**<br>
* The possible interpolation qualifiers that can be applied to a fragment<br>
* shader input in GLSL.<br>
- *<br>
- * Note: INTERP_MODE_NONE must be 0 so that memsetting the<br>
- * gl_fragment_program data structure to 0 causes the default behavior.<br>
*/<br>
enum glsl_interp_mode<br>
{<br>
- INTERP_MODE_NONE = 0,<br>
+ INTERP_MODE_NONE,<br>
INTERP_MODE_SMOOTH,<br>
INTERP_MODE_FLAT,<br>
INTERP_MODE_NOPERSPECTIVE,<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div></div>