projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee931f8
)
fix assertion
author
Brian
<brian@yutani.localnet.net>
Thu, 8 Mar 2007 22:19:34 +0000
(15:19 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 8 Mar 2007 22:19:34 +0000
(15:19 -0700)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index f07ad662237dc3987406303c689a85c621708f3d..a134bb97110884ffdbb41ed54ce21ddc7f8da144 100644
(file)
--- 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);