diff options
author | Matt Turner <[email protected]> | 2014-02-24 15:00:45 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-02-28 10:36:12 -0800 |
commit | d5fa8a956211692441b9c3ffc97b7486599ab3a3 (patch) | |
tree | 5cb6b7339c046f62088950bf97a104ad7fe71578 /src/gallium | |
parent | ecc6c3d4ab31c6cd848bce02790000c165a02229 (diff) |
glsl: Optimize lrp(x, 0, a) into x - (x * a).
Helps one program in shader-db:
instructions in affected programs: 96 -> 92 (-4.17%)
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions