summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2014-09-27 11:15:28 -0700
committerJordan Justen <[email protected]>2015-05-02 00:34:28 -0700
commitdff4a426766f08a9073ab235f74d96b4b23c6981 (patch)
tree8bc498ee378a675fbb03bf03e7290d0390448a97 /src/mesa
parentd79cdee1d9d14c74e9838fd8248e8c7a4588f9e4 (diff)
i965/cs: Mark g0 as used by CS_OPCODE_CS_TERMINATE
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp4
1 files changed, 4 insertions, 0 deletions
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