summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_execute.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-03 15:35:01 -0700
committerIan Romanick <[email protected]>2011-08-16 14:09:43 -0700
commite7bf096e8b04931996c8c56548ce0b2c0af3a0dc (patch)
tree3407414c734e47673a61005b01592dcb29bcb978 /src/mesa/program/prog_execute.c
parent92ca560d68e8a6b532998707afcf4f60c0ce2806 (diff)
ir_to_mesa: Implement ir_binop_any_nequal using DP4 w/saturate or DP4 w/SLT
The operation ir_binop_any_nequal is (a.x != b.x) || (a.y != b.y) || (a.z != b.z) || (a.w != b.w), and that is the same as any(bvec4(a.x != b.x, a.y != b.y, a.z != b.z, a.w != b.w)). Implement the any() part the same way the regular ir_unop_any is implemented. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_execute.c')
0 files changed, 0 insertions, 0 deletions