From b5d988dd19291e4e1e6f18e4163c2acac66729de Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 26 Mar 2007 10:39:56 -0600 Subject: remove incorrect assertions --- src/mesa/shader/slang/slang_emit.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index ace68d1f05a..4bbc7c918ce 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) { -- cgit v1.2.3