<div dir="ltr">On 26 November 2013 00:02, Francisco Jerez <span dir="ltr"><<a href="mailto:currojerez@riseup.net" target="_blank">currojerez@riseup.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
src/glsl/builtin_variables.cpp | 19 +++++++++++++++++++<br>
src/glsl/glsl_parser_extras.cpp | 8 ++++++++<br>
src/glsl/glsl_parser_extras.h | 9 +++++++++<br>
3 files changed, 36 insertions(+)<br>
<br>
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp<br>
index d57324c..47a6b39 100644<br>
--- a/src/glsl/builtin_variables.cpp<br>
+++ b/src/glsl/builtin_variables.cpp<br>
@@ -658,6 +658,25 @@ builtin_variable_generator::generate_constants()<br>
add_const("gl_MaxTessControlAtomicCounters", 0);<br>
add_const("gl_MaxTessEvaluationAtomicCounters", 0);<br>
}<br>
+<br>
+ if (state->ARB_shader_image_load_store_enable) {<br></blockquote><div><br>Let's make this "if (state->is_version(420, 0) || state->ARB_shader_image_load_store_enable)" so that the right thing will happen when we get to GLSL version 4.20.<br>
<br></div><div>With that changed, this patch is:<br><br>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br></div></div></div></div>