<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - shader-db crashes when running piglit shaders"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106052#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - shader-db crashes when running piglit shaders"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106052">bug 106052</a>
from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
<pre>(In reply to <a href="mailto:ben@besd.de">ben@besd.de</a> from <a href="show_bug.cgi?id=106052#c20">comment #20</a>)
<span class="quote">> All it takes is
>
> - if (consts->GLSLVersion >= 400)
> + if (consts->GLSLVersion >= 150)
> extensions->ARB_gpu_shader5 = GL_TRUE;
>
> and everything is fine (well not everything but that is ;)</span >
The decision to use GLSL 4.00 seems to have been made because of the complex
interactions of the spec:
commit 6f1edf3cbf0ce4cb8e95f2d8bd68c9c26d3f840c
Author: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>>
Date: Sat Aug 9 20:00:20 2014 -0400
mesa/st: enable ARB_gpu_shader5 if the reported GLSL version >= 400
The ARB_gpu_shader5 extension is made up of a lot of small sub-parts.
Instead of adding PIPE_CAP's for each of these, just rely on the GLSL
version reported by the pipe driver. The remaining extensions lend
themselves naturally to being checked through a single CAP.
Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>>
Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>