diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-08 13:02:24 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-08 15:11:53 -0600 |
commit | 477d597df69845e3fcd84605b26801c14a0ce382 (patch) | |
tree | 777d681605f763e69d373439c06418770628faa8 /src/mesa | |
parent | 92c075eeb7c330ea420400d1c2bae57356b19f03 (diff) |
mesa: add missing VARYING case to storage_string()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/slang/slang_ir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.c b/src/mesa/shader/slang/slang_ir.c index 31ad94183c..16c36aad0c 100644 --- a/src/mesa/shader/slang/slang_ir.c +++ b/src/mesa/shader/slang/slang_ir.c @@ -218,12 +218,14 @@ storage_string(const slang_ir_storage *st) "NAMED_PARAM", "CONSTANT", "UNIFORM", + "VARYING", "WRITE_ONLY", "ADDRESS", "SAMPLER", "UNDEFINED" }; static char s[100]; + assert(Elements(files) == PROGRAM_FILE_MAX); #if 0 if (st->Size == 1) sprintf(s, "%s[%d]", files[st->File], st->Index); |