History log of /external/mesa3d/src/glsl/glcpp/tests/101-macros-used-twice.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
64fd26a8a812f66f1291d897df7953b8ac9e2f1b 02-Feb-2012 Carl Worth <cworth@cworth.org> glsl: Add glcpp tests for a macro used twice

This test cases exposes a bug as described in this bug report:

"ralloc.c:78: get_header: Assertion `info->canary == 0x5A1106'
failed." when using a macro in GLSL
https://bugs.freedesktop.org/show_bug.cgi?id=45082

Clearly, some memory is getting (incorrectly) freed on the first macro
invocation, leading to problems with the second macro invocation.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/glcpp/tests/101-macros-used-twice.c