Kernel: 2.6.35 (for-linus)9fe6206f400646a2322096b56c59891d530e8d51
Bug detailed description:
Piglit case glslparsertest_preprocess1.frag fails on mesa glsl2 branch. Bisect find 764e096647ec8c0f20ea3b5191499af806ad23f8 is first bad commit:
Author: Carl Worth <email@example.com>
Date: Wed Aug 11 12:45:55 2010 -0700
glcpp: Regenerate glcpp-parse.c
After a recent change to glcpp-parse.y
2.glslparsertest preprocess1.frag fail
Thanks for the report.
This is an interesting case. The test case tries to verify correct operation
of the preprocessor, but only tests in a very vague way, (provides a broken
file and tests that the compiler fails to compile it).
So before the bisected commit, the compiler was failing on this test (due
to a compiler bug), but was not failing in the way the test actually intended
(which really wanted a "macro redefined" error).
The bisected commit fixed the compiler bug so that the code actually compiled,
but this caused the test case to fail.
The new bug, then, has nothing to do with the bisected commit, but was simply
that the preprocessor was failing to generate errors in the case of redefined
I've now implemented this, (along with two new test cases to the preprocessor's
test suite---which is much more thorough in what it looks for), and I've pushed
the changes to mesa master.
So this bug is fixed, now.
verified with mesa master d442a01ac14382d83cdaac87d2832315ceb3e963.