summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-05-03 13:17:56 -0700
committerEric Anholt <[email protected]>2013-05-05 13:20:42 -0700
commit739b88330c26457834c5e7e1b2e16cc3655d3fac (patch)
treeca81d4c3f812bcbfd5ad11f5e0be91bafb14623c /src/egl/main
parent008346273c2cbc386f52efacac3d3228e566e8ac (diff)
glsl: Flip around "if" statements with empty "then" blocks.
This cleans up some funny-looking code in some unigine shaders I was looking at. Also slightly helps on planeshift and a few shaders in an upcoming Valve release. total instructions in shared programs: 1653715 -> 1653587 (-0.01%) instructions in affected programs: 16550 -> 16422 (-0.77%) Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl/main')
0 files changed, 0 insertions, 0 deletions