<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED NOTOURBUG - Regression: GLB 2.7 & Glmark-2 GLES versions segfault due to linker precision error (259fc505) on dead variable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97532#c35">Comment # 35</a>
on <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED NOTOURBUG - Regression: GLB 2.7 & Glmark-2 GLES versions segfault due to linker precision error (259fc505) on dead variable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97532">bug 97532</a>
from <span class="vcard"><a class="email" href="mailto:tfiga@chromium.org" title="Tomasz Figa <tfiga@chromium.org>"> <span class="fn">Tomasz Figa</span></a>
</span></b>
<pre>By the way, it is not true that GLES 2.x didn't require this check, at least
according to following thread:
<a href="https://github.com/AnalyticalGraphicsInc/cesium/issues/817">https://github.com/AnalyticalGraphicsInc/cesium/issues/817</a>
It refers to GLSL ES 1.00 specification
(<a href="http://www.khronos.org/registry/OpenGL/specs/es/2.0/GLSL_ES_Specification_1.00.pdf">http://www.khronos.org/registry/OpenGL/specs/es/2.0/GLSL_ES_Specification_1.00.pdf</a>)
and quotes the following part:
<span class="quote">> Do precision qualifiers for uniforms need to match?
> Option 1: Yes.
> Uniforms are defined to behave as if they are using the same storage in the
> vertex and fragment processors and may be implemented this way.
> If uniforms are used in both the vertex and fragment shaders, developers
> should be warned if the precisions are different. Conversion of precision
> should never be implicit.
> Option 2: No.
> Uniforms may be used by both shaders but the same precision may not be
> available in both so there is a justification for allowing them to be
> different.
> Using the same uniform in the vertex and fragment shaders will always require
> the precision to be specified in the vertex shader (since the default
> precision is highp). This is an unnecessary burden on developers.
> RESOLUTION: Yes, precision qualifiers for uniforms must match.</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>