mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
mesa: add missing VARYING case to storage_string()
This commit is contained in:
parent
2e7e183751
commit
2e638cfe3c
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue