i965: Add opcode names for FS interpolation opcodes
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 6 Dec 2014 21:07:16 +0000 (10:07 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 6 Dec 2014 21:29:20 +0000 (10:29 +1300)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_shader.cpp

index 183a4f161918f6278927f6de31aec11bdf0e511b..8f6a3dec0c9e3b3d40878ddee4866464add5ad64 100644 (file)
@@ -498,6 +498,15 @@ brw_instruction_name(enum opcode op)
    case FS_OPCODE_PLACEHOLDER_HALT:
       return "placeholder_halt";
 
+   case FS_OPCODE_INTERPOLATE_AT_CENTROID:
+      return "interp_centroid";
+   case FS_OPCODE_INTERPOLATE_AT_SAMPLE:
+      return "interp_sample";
+   case FS_OPCODE_INTERPOLATE_AT_SHARED_OFFSET:
+      return "interp_shared_offset";
+   case FS_OPCODE_INTERPOLATE_AT_PER_SLOT_OFFSET:
+      return "interp_per_slot_offset";
+
    case VS_OPCODE_URB_WRITE:
       return "vs_urb_write";
    case VS_OPCODE_PULL_CONSTANT_LOAD: