i965: Add missing handling for BRW_OPCODE_SEL.

Fixes 4 piglit tests about min, max, and clamp.
This commit is contained in:
Eric Anholt
2010-08-27 14:09:05 -07:00
parent 38d01c5b27
commit f0aa2d6118
+4
View File
@@ -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);