i965/cs: Add CS_OPCODE_CS_TERMINATE
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 27 Aug 2014 18:32:08 +0000 (11:32 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 May 2015 07:34:28 +0000 (00:34 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_shader.cpp

index 7d55d85bfaec3db3c449f160aacb10a75e3c856e..813e573cad937c6e3d23214551e2e6484425536c 100644 (file)
@@ -1103,6 +1103,11 @@ enum opcode {
     *   and number of SO primitives needed.
     */
    GS_OPCODE_FF_SYNC_SET_PRIMITIVES,
+
+   /**
+    * Terminate the compute shader.
+    */
+   CS_OPCODE_CS_TERMINATE,
 };
 
 enum brw_urb_write_flags {
index 0e94424a971e05bf5ecb3a73cc0e5cd8a6871d04..157bb32f64c84e4b9bfde2036611c66874f3b999 100644 (file)
@@ -610,6 +610,8 @@ brw_instruction_name(enum opcode op)
       return "gs_svb_set_dst_index";
    case GS_OPCODE_FF_SYNC_SET_PRIMITIVES:
       return "gs_ff_sync_set_primitives";
+   case CS_OPCODE_CS_TERMINATE:
+      return "cs_terminate";
    }
 
    unreachable("not reached");