From: Brian Date: Thu, 8 Mar 2007 22:19:34 +0000 (-0700) Subject: fix assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19a90505487e69a50a947ed932b024c0f5ff2c5d;p=mesa.git fix assertion --- diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index f07ad662237..a134bb97110 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -450,7 +450,7 @@ storage_to_dst_reg(struct prog_dst_register *dst, const slang_ir_storage *st, WRITEMASK_X | WRITEMASK_Y | WRITEMASK_Z, WRITEMASK_X | WRITEMASK_Y | WRITEMASK_Z | WRITEMASK_W }; - assert(st->Index >= 0 && st->Index <= 16); + assert(st->Index >= 0); dst->File = st->File; dst->Index = st->Index; assert(st->File != PROGRAM_UNDEFINED);