summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-06-14 03:13:27 -0700
committerKenneth Graunke <[email protected]>2014-06-15 16:51:04 -0700
commitd6a7a2606e8007243120ee5032c811fe5655854d (patch)
tree587389f5e24b184c1cb881446f663749e605e31c /src/mesa
parent4133c7126c8c694ee4b05da1f312c411c0f6fdeb (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp2
1 files changed, 2 insertions, 0 deletions
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";