diff options
author | Matt Turner <[email protected]> | 2014-02-24 15:00:44 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-02-28 10:36:06 -0800 |
commit | ecc6c3d4ab31c6cd848bce02790000c165a02229 (patch) | |
tree | 3732755c567d6cb332280fe0f7f29391b67b096c /src/glsl/test_optpass.cpp | |
parent | 43dee0295e5da42425f1a3b6a3b3108173f4b676 (diff) |
glsl: Optimize lrp(0, y, a) into y * a.
Helps two programs in shader-db:
instructions in affected programs: 254 -> 234 (-7.87%)
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/test_optpass.cpp')
0 files changed, 0 insertions, 0 deletions