From d6a7a2606e8007243120ee5032c811fe5655854d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 14 Jun 2014 03:13:27 -0700 Subject: [PATCH] i965: Add SHADER_OPCODE_SHADER_TIME_ADD to dump_instructions() decode. "shader_time_add" is a lot more informative than "op152". Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_shader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index 6ad0ff4900b..687356bcd04 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp @@ -451,6 +451,8 @@ brw_instruction_name(enum opcode op) return "tg4"; case SHADER_OPCODE_TG4_OFFSET: return "tg4_offset"; + case SHADER_OPCODE_SHADER_TIME_ADD: + return "shader_time_add"; case SHADER_OPCODE_GEN4_SCRATCH_READ: return "gen4_scratch_read"; -- 2.30.2