projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a64927
)
i965/vs: Fix condition code for scalar expression all_equals.
author
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 03:13:53 +0000
(20:13 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 20:04:43 +0000
(13:04 -0700)
Fixes vs-op-eq-bool-bool.
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index d03fbff27fcbc96cbb629cd4d758c2551a87602f..3ae89dfbc45a39ef4225901f42d3f4b42c3dbc6e 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-985,7
+985,7
@@
vec4_visitor::visit(ir_expression *ir)
temp.type = op[0].type;
inst = emit(BRW_OPCODE_CMP, temp, op[0], op[1]);
- inst->conditional_mod = BRW_CONDITIONAL_
N
Z;
+ inst->conditional_mod = BRW_CONDITIONAL_Z;
emit(BRW_OPCODE_AND, result_dst, result_src, src_reg(0x1));
}
break;