aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-08-22 14:30:38 -0700
committerMatt Turner <[email protected]>2014-12-05 09:49:42 -0800
commitbe80f69ecdb5544509d762ce5c832c4ad3abbe9b (patch)
tree799515aadcc3ef21ed4f93a579b1873a7ab972c8 /src/mesa/drivers/dri/i965/brw_vec4_cse.cpp
parenta1fc6a91e5c6ab098fa8576e63b3a070852aa2a7 (diff)
glsl: Optimize scalar all_equal/any_nequal into equal/nequal.
Cuts an instruction from two shaders in Tesseract, by allowing the (x+y) cmp 0 -> x cmp -y optimization to take place. instructions in affected programs: 1198 -> 1194 (-0.33%) Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_cse.cpp')
0 files changed, 0 insertions, 0 deletions