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
bug/show.html.tmpl processed on Mar 20, 2017 at 09:46:48. (provided by the Example extension).