From: Jordan Justen Date: Sat, 27 Sep 2014 18:15:28 +0000 (-0700) Subject: i965/cs: Mark g0 as used by CS_OPCODE_CS_TERMINATE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dff4a426766f08a9073ab235f74d96b4b23c6981;p=mesa.git i965/cs: Mark g0 as used by CS_OPCODE_CS_TERMINATE Signed-off-by: Jordan Justen Reviewed-by: Kenneth Graunke --- 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