[Bug 97532] Regression: GLB 2.7 & Glmark-2 GLES versions segfault due to linker precision error (259fc505) on dead variable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 10 03:51:32 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=97532

--- Comment #35 from Tomasz Figa <tfiga at chromium.org> ---
By the way, it is not true that GLES 2.x didn't require this check, at least
according to following thread:

https://github.com/AnalyticalGraphicsInc/cesium/issues/817

It refers to GLSL ES 1.00 specification
(http://www.khronos.org/registry/OpenGL/specs/es/2.0/GLSL_ES_Specification_1.00.pdf)
and quotes the following part:

> 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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170910/92a6f461/attachment.html>


More information about the intel-3d-bugs mailing list