From 6a3421078a36fdc51d77a86aa7eddb43f5a4cf32 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 4 Dec 2017 23:01:08 +0100 Subject: [PATCH] mesa/program: Add missing file types to printout Reviewed-by: Brian Paul Signed-off-by: Gert Wollny --- src/mesa/program/prog_print.c | 16 ++++++++++++++-- 1 file 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]; -- 2.30.2