[Bug 81585] piglit spec_glsl-1.10_compiler_literals_invalid-float-suffix-capital-f.vert fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 18 07:50:03 PST 2014


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

--- Comment #3 from Matt Turner <mattst88 at gmail.com> ---
(In reply to Neil Roberts from comment #2)
> Using the f suffix on NVidia's proprietary driver version 340.46 with
> #version 110 gives the following error:
> 
> error C7502: OpenGL does not allow type suffix 'f' on constant literals in
> versions below 120
> 
> However, if I leave out the #version line entirely then the error becomes a
> warning and it successfully compiles. The Piglit test doesn't specify the
> #version line so I guess it would fail on NVidia's driver too.

The GLSL spec says "shaders that do not include a #version directive will be
treated as targeting version 110". I think NVidia operates in some relaxed mode
when #version is missing.

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


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