projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d01c5
)
i965: Add missing handling for BRW_OPCODE_SEL.
author
Eric Anholt
<eric@anholt.net>
Fri, 27 Aug 2010 21:09:05 +0000
(14:09 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 27 Aug 2010 21:11:25 +0000
(14:11 -0700)
Fixes 4 piglit tests about min, max, and clamp.
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 3f41a5533151ab76f881c77759343f213e69d1a8..63f3cd08162040e571d5bac02d4f434883f5ffe8 100644
(file)
--- 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);