summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-22 16:07:14 -0600
committerBrian <brian@yutani.localnet.net>2007-03-22 16:07:14 -0600
commite6aeb24b23097024ba60e1c49239a18692f781e1 (patch)
tree0e07b8bd5f798fde7d7b49e4e10c23679263ec0b /src/mesa/tnl
parent0aad9e262784b0f2ac85afdce88414c986dae2f7 (diff)
Overhaul emit_compare() function.
Previously, comparing vec2, vec3, vec4 was broken. Added IR_EQUAL, IR_NOTEQUAL nodes/operators to compute boolean equality/inequality vs. IR_SEQUAL/IR_SNEQUAL which work component-wise. Use IR_EQUAL/IR_NOTEQUAL for the == and != operators. To compute vec4 equality, use SNE, DP4, SEQ instruction sequence.
Diffstat (limited to 'src/mesa/tnl')
0 files changed, 0 insertions, 0 deletions