i965/cs: Mark g0 as used by CS_OPCODE_CS_TERMINATE
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 27 Sep 2014 18:15:28 +0000 (11:15 -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_fs_reg_allocate.cpp

index 94e1a0aebf7737db9f4a8d5611f8b8c50521e128..582d0993f1c9096a7aad6b9fc6becdb10ef35916 100644 (file)
@@ -404,6 +404,10 @@ fs_visitor::setup_payload_interference(struct ra_graph *g,
          }
          break;
 
+      case CS_OPCODE_CS_TERMINATE:
+         payload_last_use_ip[0] = use_ip;
+         break;
+
       default:
          if (inst->eot) {
             /* We could omit this for the !inst->header_present case, except