summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-11-18 16:11:25 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-11-18 18:19:45 -0800
commitc05ccc1ebde177646ac09c1bd6d1b4719e745f82 (patch)
tree00f466ea133c468504d2f91e1839a65111ed8811 /src/gallium
parentad87f2ddc7e6b95e3dd5bbe4d2b19703d305c74e (diff)
ir_to_mesa: Generate smarter code for some conditional moves
Condiation moves with a condition of (a < 0), (a > 0), (a <= 0), or (a >= 0) can be generated with "a" directly as an operand of the CMP instruction. This doesn't help much now, but it will help with assembly shaders that use the CMP instruction.
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions