diff options
author | Jason Ekstrand <[email protected]> | 2014-10-24 11:42:02 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-10-27 13:35:57 -0700 |
commit | 547a7fb4581a86c9ab4062e63ee16a3c818abeb5 (patch) | |
tree | 5107e1ca2c22dafc08f4703c5b506753c9ae9957 | |
parent | 9d1f72ebdec90e2c747d5af38d72895a60a1753a (diff) |
i965/fs: Make scratch write instructions use the correct execution size
Reviewed-by: Kristian Høgsberg <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 2 |
1 files changed, 1 insertions, 1 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 c0171372887..2313af90387 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp @@ -732,7 +732,7 @@ fs_visitor::emit_spill(bblock_t *block, fs_inst *inst, fs_reg src, for (int i = 0; i < count / reg_size; i++) { fs_inst *spill_inst = new(mem_ctx) fs_inst(SHADER_OPCODE_GEN4_SCRATCH_WRITE, - reg_null_f, src); + reg_size * 8, reg_null_f, src); src.reg_offset += reg_size; spill_inst->offset = spill_offset + i * reg_size * REG_SIZE; spill_inst->ir = inst->ir; |