mesa: add missing VARYING case to storage_string()

This commit is contained in:
Brian Paul
2008-07-08 13:02:24 -06:00
parent 92c075eeb7
commit 477d597df6
+2
View File
@@ -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);