[Mesa-dev] [PATCH 08/18] i965/cs: Mark g0 as used by CS_OPCODE_CS_TERMINATE
Jordan Justen
jordan.l.justen at intel.com
Sat Mar 14 21:54:18 PDT 2015
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
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 72c490b..1f30a19 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
@@ -405,6 +405,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.1.4
More information about the mesa-dev
mailing list