summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/101-macros-used-twice.c
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Add glcpp tests for a macro used twiceCarl Worth2012-02-021-0/+16
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 <[email protected]>