projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b67d931
)
remove incorrect assertions
author
Brian
<brian@yutani.localnet.net>
Mon, 26 Mar 2007 16:39:56 +0000
(10:39 -0600)
committer
Brian
<brian@yutani.localnet.net>
Mon, 26 Mar 2007 16:39:56 +0000
(10:39 -0600)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index ace68d1f05a866eb946e54aa0908e36f66ca4447..4bbc7c918ce061749d87d5d9adddfbfbd2009a29 100644
(file)
--- a/
src/mesa/shader/slang/slang_emit.c
+++ b/
src/mesa/shader/slang/slang_emit.c
@@
-519,9
+519,7
@@
emit_compare(slang_emit_info *emitInfo, slang_ir_node *n)
opcode = n->Opcode == IR_EQUAL ? OPCODE_SEQ : OPCODE_SNE;
inst = new_instruction(emitInfo, opcode);
storage_to_src_reg(&inst->SrcReg[0], n->Children[0]->Store);
- ASSERT(inst->SrcReg[0].Swizzle != SWIZZLE_XYZW);
storage_to_src_reg(&inst->SrcReg[1], n->Children[1]->Store);
- ASSERT(inst->SrcReg[1].Swizzle != SWIZZLE_XYZW);
storage_to_dst_reg(&inst->DstReg, n->Store, n->Writemask);
}
else if (size <= 4) {