<div dir="auto">Can be done in another patch, but you should go through all the relevant extension checks and update the with something that also considers the features enabled for 460. Should be fairly mechanical.</div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 1, 2017 5:26 AM, "Samuel Pitoiset" <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Samuel Pitoiset <<a href="mailto:samuel.pitoiset@gmail.com">samuel.pitoiset@gmail.com</a>><br>
---<br>
src/compiler/glsl/glsl_parser_<wbr>extras.cpp | 4 ++--<br>
src/compiler/glsl/glsl_parser_<wbr>extras.h | 2 +-<br>
src/compiler/glsl/standalone.<wbr>cpp | 2 ++<br>
3 files changed, 5 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/src/compiler/glsl/glsl_<wbr>parser_extras.cpp b/src/compiler/glsl/glsl_<wbr>parser_extras.cpp<br>
index 68af6baafa..8f1651d494 100644<br>
--- a/src/compiler/glsl/glsl_<wbr>parser_extras.cpp<br>
+++ b/src/compiler/glsl/glsl_<wbr>parser_extras.cpp<br>
@@ -54,9 +54,9 @@ glsl_compute_version_string(<wbr>void *mem_ctx, bool is_es, unsigned version)<br>
<br>
<br>
static const unsigned known_desktop_glsl_versions[] =<br>
- { 110, 120, 130, 140, 150, 330, 400, 410, 420, 430, 440, 450 };<br>
+ { 110, 120, 130, 140, 150, 330, 400, 410, 420, 430, 440, 450, 460 };<br>
static const unsigned known_desktop_gl_versions[] =<br>
- { 20, 21, 30, 31, 32, 33, 40, 41, 42, 43, 44, 45 };<br>
+ { 20, 21, 30, 31, 32, 33, 40, 41, 42, 43, 44, 45, 46 };<br>
<br>
<br>
_mesa_glsl_parse_state::_mesa_<wbr>glsl_parse_state(struct gl_context *_ctx,<br>
diff --git a/src/compiler/glsl/glsl_<wbr>parser_extras.h b/src/compiler/glsl/glsl_<wbr>parser_extras.h<br>
index be6c8dce6b..fb35813087 100644<br>
--- a/src/compiler/glsl/glsl_<wbr>parser_extras.h<br>
+++ b/src/compiler/glsl/glsl_<wbr>parser_extras.h<br>
@@ -354,7 +354,7 @@ struct _mesa_glsl_parse_state {<br>
unsigned ver;<br>
uint8_t gl_ver;<br>
bool es;<br>
- } supported_versions[16];<br>
+ } supported_versions[17];<br>
<br>
bool es_shader;<br>
bool compat_shader;<br>
diff --git a/src/compiler/glsl/<wbr>standalone.cpp b/src/compiler/glsl/<wbr>standalone.cpp<br>
index 52554bb92a..8e5bc352fc 100644<br>
--- a/src/compiler/glsl/<wbr>standalone.cpp<br>
+++ b/src/compiler/glsl/<wbr>standalone.cpp<br>
@@ -253,6 +253,7 @@ initialize_context(struct gl_context *ctx, gl_api api)<br>
case 430:<br>
case 440:<br>
case 450:<br>
+ case 460:<br>
ctx->Const.MaxClipPlanes = 8;<br>
ctx->Const.MaxDrawBuffers = 8;<br>
ctx->Const.<wbr>MinProgramTexelOffset = -8;<br>
@@ -418,6 +419,7 @@ standalone_compile_shader(<wbr>const struct standalone_options *_options,<br>
case 430:<br>
case 440:<br>
case 450:<br>
+ case 460:<br>
glsl_es = false;<br>
break;<br>
default:<br>
--<br>
2.13.3<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>
</blockquote></div></div>