summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtin_variables.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-10-17 20:32:58 -0700
committerMatt Turner <[email protected]>2014-10-29 21:35:46 -0700
commitd056863b3c535aeebfe5fcfc9468eb33a06ddb60 (patch)
tree9718584e114426560451e5d0c075412775d83353 /src/glsl/builtin_variables.cpp
parent26122e09a304061e46690e1b9da2e36a527b3e2e (diff)
glsl: Drop constant 0.0 components from dot products.
Helps a small number of vertex shaders in the games Dungeon Defenders and Shank, as well as an internal benchmark. instructions in affected programs: 2801 -> 2719 (-2.93%) Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
0 files changed, 0 insertions, 0 deletions