[Mesa-dev] [PATCH] glsl: Relax GLSL 1.10 float suffix error to a warning.

Matt Turner mattst88 at gmail.com
Wed Apr 20 20:07:41 UTC 2016


On Wed, Apr 20, 2016 at 12:48 PM, Lars Hamre <chemecse at gmail.com> wrote:
> I am fine with this, it would be nice if we could modify the following
> piglit tests to pass when a warning is emitted:
> https://cgit.freedesktop.org/piglit/tree/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-capital-f.vert
> https://cgit.freedesktop.org/piglit/tree/tests/spec/glsl-1.10/compiler/literals/invalid-float-suffix-f.vert

Right. Unfortunately, that would require adding some infrastructure to
glslparsertest to accept "warn" as a result, and I'm not sure how that
would work. In this case we'd want that to mean "accept failure to
compile" but also "accept compilation succeeded but with a warning
message".


More information about the mesa-dev mailing list