piglit/tests/glslparsertest/shaders/function3.frag expects to be compiled fail because it writes to a "const" variable (which is defined as read-only in GLSL spec): void function(const int i) { i = 3; // const value cant be modified } But it gets compiled successfully in mesa.
piglit/tests/glslparsertest/shaders/struct9.frag fails with similar issue: const struct s { int i; } s1 = s(1); void main() { s1.i = 1; // const struct members cannot be modified }
Fixed with glsl2 merge.
verified with mesa master d442a01ac14382d83cdaac87d2832315ceb3e963
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.