summaryrefslogtreecommitdiffstats
path: root/src/glsl/loop_analysis.h
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2012-11-28 11:52:05 -0800
committerCarl Worth <[email protected]>2012-11-29 13:03:01 -0800
commit907a10378e4c63686abe0739634b30615018ccd1 (patch)
treefe6584d0a6524eea4ae8c206a02f4aa359d5723f /src/glsl/loop_analysis.h
parentdbd6135bc1ba285128ab991c03c4df6fbd6fefe8 (diff)
glcpp: Add support for __LINE__ and __FILE__ macros
These tokens are easy to expand by just looking at the current, tracked location values, (and no need to look anything up in the hash table). Add a test which verifies __LINE__ with several values, (and verifies __FILE__ for the single value of 0). Our testing framework isn't sophisticated enough here to have a test with multiple file inputs. This commit fixes part of es3conform's preprocess16_frag test. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/loop_analysis.h')
0 files changed, 0 insertions, 0 deletions