diff options
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index f07ad66223..a134bb9711 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); |