[Bug 97532] Regression: GLB 2.7 segfaults due to bogus linker precision error (259fc505) on dead variable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 2 04:54:17 UTC 2016


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

--- Comment #10 from Tapani Pälli <lemody at gmail.com> ---
(In reply to Kenneth Graunke from comment #8)
> You have to enforce language rules regardless of whether or not code is used.
> 
> Nobody would suggest that a C compiler should compile:
> 
> void main()
> {
>    int x = "lol, who needs rules?";
>    return 0;
> }
> 
> just because 'x' isn't used.  That's crazy.

agreed, I sent the patch only because spec language is a bit vague (surprise!),
it says:

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

... blah blah ..

RESOLUTION: Yes, precision qualifiers for uniforms must match."

so ... conversion of precision should never happen implicitly, and precision
qualifiers _must_ match, however developers should be 'warned'

-- 
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/20160902/24354db6/attachment.html>


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