i965: Add SHADER_OPCODE_SHADER_TIME_ADD to dump_instructions() decode.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 14 Jun 2014 10:13:27 +0000 (03:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 15 Jun 2014 23:51:04 +0000 (16:51 -0700)
"shader_time_add" is a lot more informative than "op152".

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_shader.cpp

index 6ad0ff4900b364019e2701be0f34ef6fb420385f..687356bcd042f9c7992074ec31f02f84433651a5 100644 (file)
@@ -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";