diff options
author | Brian <brian@yutani.localnet.net> | 2007-03-22 16:07:14 -0600 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-03-22 16:07:14 -0600 |
commit | e6aeb24b23097024ba60e1c49239a18692f781e1 (patch) | |
tree | 0e07b8bd5f798fde7d7b49e4e10c23679263ec0b /src/mesa/shader/prog_instruction.h | |
parent | 0aad9e262784b0f2ac85afdce88414c986dae2f7 (diff) | |
download | external_mesa3d-e6aeb24b23097024ba60e1c49239a18692f781e1.zip external_mesa3d-e6aeb24b23097024ba60e1c49239a18692f781e1.tar.gz external_mesa3d-e6aeb24b23097024ba60e1c49239a18692f781e1.tar.bz2 |
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/shader/prog_instruction.h')
0 files changed, 0 insertions, 0 deletions