summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/pp.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2012-12-05 16:36:06 -0800
committerCarl Worth <cworth@cworth.org>2013-01-11 13:55:41 -0800
commit4b00ecebd0019202315f0f4a9e6105d962e659f7 (patch)
treeaec6890c61229e57c0e70e1e528d6c4d62bda0fe /src/glsl/glcpp/pp.c
parentc0c9c9966f54b2e4a4eb2ffa2abe343c1b82b823 (diff)
downloadexternal_mesa3d-4b00ecebd0019202315f0f4a9e6105d962e659f7.zip
external_mesa3d-4b00ecebd0019202315f0f4a9e6105d962e659f7.tar.gz
external_mesa3d-4b00ecebd0019202315f0f4a9e6105d962e659f7.tar.bz2
drirc: Add quirk to disable GLSL line continuations for Savage2
This application is known to contain shaders that: 1. Have a stray backslash as the last line of comment lines 2. Have a declaration immediately following that line Hence, interpreting that backslash as a line continuation causes the declaration to be hidden and the shader fails to compile. Fortunately, the shaders also: 3. Do not have any other intentional line-continuation characters So disabling line continuations entirely for the application fixes this problem without causing any other breakage. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/glcpp/pp.c')
0 files changed, 0 insertions, 0 deletions