diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-27 14:09:05 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-27 14:11:25 -0700 |
commit | f0aa2d6118b1af7434b7551227cd72c588568e65 (patch) | |
tree | 96a1d94c1115b9c4d8dd08ab3fb15d3a1b646384 /src/mesa/drivers/dri | |
parent | 38d01c5b272d28a805e7598bad2f2ef5c8da732a (diff) |
i965: Add missing handling for BRW_OPCODE_SEL.
Fixes 4 piglit tests about min, max, and clamp.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 3f41a55331..63f3cd0816 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1513,6 +1513,10 @@ fs_visitor::generate_code() case BRW_OPCODE_CMP: brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); break; + case BRW_OPCODE_SEL: + brw_SEL(p, dst, src[0], src[1]); + break; + case BRW_OPCODE_IF: assert(if_stack_depth < 16); if_stack[if_stack_depth] = brw_IF(p, BRW_EXECUTE_8); |