summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-26 10:39:56 -0600
committerBrian <brian@yutani.localnet.net>2007-03-26 10:39:56 -0600
commitb5d988dd19291e4e1e6f18e4163c2acac66729de (patch)
tree6d769a611de6ac90b0004ee54c560c2cb2f57d81 /src/mesa/shader/slang
parentb67d93111da01c30317f4642e041e5c8c111d3d3 (diff)
remove incorrect assertions
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_emit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c
index ace68d1f05..4bbc7c918c 100644
--- 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) {