summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/117-line-continuation-and-non-continuation-backslash.c.expected
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2013-06-03 11:35:43 -0700
committerCarl Worth <[email protected]>2013-06-03 13:33:31 -0700
commitd8eeb1d330c52aad734cc553e41b457e6727275c (patch)
tree625c48ea494d8d2996531558c59775a962d9e394 /src/glsl/glcpp/tests/117-line-continuation-and-non-continuation-backslash.c.expected
parent7a9f4d3e7114ca709658a620644ad897bdda41e7 (diff)
glcpp: Fix post-decrement underflow in loop-control variable
This loop-control condition with a post-decrement operator would lead to an underflow of collapsed_newlines. This in turn would cause a subsequent execution of the loop to labor inordinately trying to return the loop-control variable to a value of 0 again. Fix this by dis-intertwining the test and the decrement. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65112 Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests/117-line-continuation-and-non-continuation-backslash.c.expected')
0 files changed, 0 insertions, 0 deletions