<div dir="ltr">It also seems to have an off by one error</div><br><div class="gmail_quote"><div dir="ltr">On Wed, 21 Feb 2018 at 16:41 Mike Lothian <<a href="mailto:mike@fireburn.co.uk">mike@fireburn.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This doesn't show as default and seems to be tucked away under GL_ARB_transform_feedback3<div><br></div><div><div> GL_ARB_transform_feedback3:</div><div> GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 4</div><div> GL_MAX_VERTEX_STREAMS = 4</div><div> GL_NUM_SHADING_LANGUAGE_VERSIONS = 16</div><div> 450</div><div> 440</div><div> 430</div><div> 420</div><div> 410</div><div> 400</div><div> 330</div><div> 150</div><div> 140</div><div> 130</div><div> 120</div><div><br></div><div> 320 es</div><div> 310 es</div><div> 300 es</div><div> 100</div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 21 Feb 2018 at 16:13 Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
src/xdemos/glinfo_common.c | 13 +++++++++++++<br>
1 file changed, 13 insertions(+)<br>
<br>
diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c<br>
index 0411891..c36cff1 100644<br>
--- a/src/xdemos/glinfo_common.c<br>
+++ b/src/xdemos/glinfo_common.c<br>
@@ -794,6 +794,19 @@ print_limits(const char *extensions, const char *oglstring, int version,<br>
}<br>
free(formats);<br>
}<br>
+<br>
+#if defined(GL_VERSION_4_3)<br>
+ if (version >= 43) {<br>
+ GLint i, n = 0;<br>
+ glGetIntegerv(GL_NUM_SHADING_LANGUAGE_VERSIONS, &n);<br>
+ printf(" GL_NUM_SHADING_LANGUAGE_VERSIONS = %d\n", n);<br>
+ for (i = 0; i < n; i++) {<br>
+ printf(" %s\n", (const char *)<br>
+ extfuncs->GetStringi(GL_SHADING_LANGUAGE_VERSION, i));<br>
+ }<br>
+ }<br>
+#endif<br>
+<br>
#if defined(GL_ARB_vertex_program)<br>
if (extension_supported("GL_ARB_vertex_program", extensions)) {<br>
print_program_limits(GL_VERTEX_PROGRAM_ARB, extfuncs);<br>
--<br>
2.7.4<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">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>
</blockquote></div></blockquote></div>