diff options
author | Ian Romanick <[email protected]> | 2010-07-12 18:48:50 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-12 19:12:28 -0700 |
commit | 31a97868fc14d4c57681c35021571b4b61f29e20 (patch) | |
tree | c5e2bc2839b5248080b4db8b2485f209a93b5014 /src/glsl/ir_expression_flattening.cpp | |
parent | 15ce87e9f2d4f66ef87af693a284b3cc9fd870c1 (diff) |
linker: Merge global-scope instructions into main
Find instructions in all shaders that are not contained in a function
(i.e., initializers for global variables). "Move" these instructions
to the top of the main function in the linked shader. As a
side-effect, many global variables will also be copied into the linked
shader.
Diffstat (limited to 'src/glsl/ir_expression_flattening.cpp')
0 files changed, 0 insertions, 0 deletions