Mesa (master): i965/fs: Use the correct regs_written on unspill instructions
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Tue Oct 14 19:41:07 UTC 2014
Module: Mesa
Branch: master
Commit: 3435aa49f44672a34a53e19251fa0bcc1ee4e50f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3435aa49f44672a34a53e19251fa0bcc1ee4e50f
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Tue Oct 14 12:02:19 2014 -0700
i965/fs: Use the correct regs_written on unspill instructions
Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 1 +
1 file changed, 1 insertion(+)
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 32669f6..65a09a0 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
@@ -640,6 +640,7 @@ fs_visitor::emit_unspill(bblock_t *block, fs_inst *inst, fs_reg dst,
unspill_inst->offset = spill_offset;
unspill_inst->ir = inst->ir;
unspill_inst->annotation = inst->annotation;
+ unspill_inst->regs_written = reg_size;
if (!gen7_read) {
unspill_inst->base_mrf = 14;
More information about the mesa-commit
mailing list