From: Brian Date: Mon, 26 Mar 2007 16:39:56 +0000 (-0600) Subject: remove incorrect assertions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5d988dd19291e4e1e6f18e4163c2acac66729de;p=mesa.git remove incorrect assertions --- 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) {