summaryrefslogtreecommitdiffstats
path: root/src/gallium/Makefile.am
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2012-11-29 14:49:46 -0800
committerCarl Worth <[email protected]>2012-11-30 15:08:38 -0800
commit962a1c07b44fe500b79b3ca6806d72a432c1f055 (patch)
treebcdcc4899a70401e8341bbe48b96976d11633e82 /src/gallium/Makefile.am
parent60a11e295b86475ff334291a5b483e422371b21c (diff)
glcpp: Rewrite line-continuation support to act globally.
Previously, we were only supporting line-continuation backslash characters within lines of pre-processor directives, (as per the specification). With OpenGL 4.2 and GLES3, line continuations are now supported anywhere within a shader. While changing this, also fix a bug where the preprocessor was ignoring line continuation characters when a line ended in multiple backslash characters. The new code is also more efficient than the old. Previously, we would perform a ralloc copy at each newline. We now perform copies only at each occurrence of a line-continuation. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/Makefile.am')
0 files changed, 0 insertions, 0 deletions