summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorGert Wollny <gw.fossdev@gmail.com>2017-12-04 23:01:08 +0100
committerBrian Paul <brianp@vmware.com>2018-01-24 10:23:00 -0700
commit6a3421078a36fdc51d77a86aa7eddb43f5a4cf32 (patch)
tree83b55842b660898c981e067311b5bfcdd46b388c /src/mesa/program
parent365a48abddcabf6596c2e34a784d91c8ab929918 (diff)
mesa/program: Add missing file types to printout
Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/prog_print.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index 9462510f3ad..b273bbf4c86 100644
--- a/src/mesa/program/prog_print.c
+++ b/src/mesa/program/prog_print.c
@@ -50,12 +50,14 @@ _mesa_register_file_name(gl_register_file f)
switch (f) {
case PROGRAM_TEMPORARY:
return "TEMP";
- case PROGRAM_STATE_VAR:
- return "STATE";
+ case PROGRAM_ARRAY:
+ return "ARRAY";
case PROGRAM_INPUT:
return "INPUT";
case PROGRAM_OUTPUT:
return "OUTPUT";
+ case PROGRAM_STATE_VAR:
+ return "STATE";
case PROGRAM_CONSTANT:
return "CONST";
case PROGRAM_UNIFORM:
@@ -68,6 +70,16 @@ _mesa_register_file_name(gl_register_file f)
return "SYSVAL";
case PROGRAM_UNDEFINED:
return "UNDEFINED";
+ case PROGRAM_IMMEDIATE:
+ return "IMM";
+ case PROGRAM_BUFFER:
+ return "BUFFER";
+ case PROGRAM_MEMORY:
+ return "MEMORY";
+ case PROGRAM_IMAGE:
+ return "IMAGE";
+ case PROGRAM_HW_ATOMIC:
+ return "HWATOMIC";
default:
{
static char s[20];