diff options
author | Brian <brian@yutani.localnet.net> | 2007-03-08 15:19:34 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-03-08 15:19:34 -0700 |
commit | 19a90505487e69a50a947ed932b024c0f5ff2c5d (patch) | |
tree | 2425d32c15e3fa827a883e776d2ab3db705d266a /src/mesa/shader | |
parent | ee931f8d4de7c3f04ea80cfaa556d1058942e523 (diff) |
fix assertion
Diffstat (limited to 'src/mesa/shader')
-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); |