Browse Source

mesa: add missing VARYING case to storage_string()

tags/mesa_20090313
Brian Paul 17 years ago
parent
commit
2e638cfe3c
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/mesa/shader/slang/slang_ir.c

+ 2
- 0
src/mesa/shader/slang/slang_ir.c 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);

Loading…
Cancel
Save