projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23c5b21
)
glsl: fix bad sanity-check assertion
author
Brian Paul
<brianp@vmware.com>
Wed, 2 Jun 2010 20:45:33 +0000
(14:45 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 2 Jun 2010 21:34:49 +0000
(15:34 -0600)
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 974c4a31315470f8c36a03999d5afa1478d8f0d1..4d4c611dfe4a2fb5c300d4575798fca502d52b74 100644
(file)
--- a/
src/mesa/shader/slang/slang_emit.c
+++ b/
src/mesa/shader/slang/slang_emit.c
@@
-366,7
+366,7
@@
storage_to_src_reg(struct prog_src_register *src, const slang_ir_storage *st)
st0->File = PROGRAM_TEMPORARY;
}
#endif
- assert(st->File < PROGRAM_
UNDEFINED
);
+ assert(st->File < PROGRAM_
FILE_MAX
);
src->File = st->File;
assert(index >= 0);