From dff4a426766f08a9073ab235f74d96b4b23c6981 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sat, 27 Sep 2014 11:15:28 -0700 Subject: [PATCH] i965/cs: Mark g0 as used by CS_OPCODE_CS_TERMINATE Signed-off-by: Jordan Justen Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp index 94e1a0aebf7..582d0993f1c 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp @@ -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 -- 2.30.2