summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-10-15 23:42:19 -0700
committerMatt Turner <mattst88@gmail.com>2013-10-16 20:49:43 -0700
commita360ca7476a967d12c6622bbe4e5e65e74fccd50 (patch)
treefa24019ff4edc5ef0df14bb049631a1957f6b9e7 /src/mapi
parent197f3a33fbce525e8f7799466935304d9e24c0f1 (diff)
glsl: Optimize mul(a, -1) into neg(a).
Two extra instructions in some heroesofnewerth shaders, but a win for everything else. total instructions in shared programs: 1531352 -> 1530815 (-0.04%) instructions in affected programs: 121898 -> 121361 (-0.44%) Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions