Module: Mesa Branch: master Commit: 7859701920adc7f25696a05ae4715a4694109e1d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7859701920adc7f25696a05ae4715a4694109e1d
Author: Andriy Khulap <[email protected]> Date: Thu Mar 1 10:44:28 2018 +0200 i965: Fix RELOC_WRITE typo in brw_store_data_imm64() Fixes: 6c530ad11605 ("i965: Reduce passing 2x32b of reloc_domains to 2 bits") Signed-off-by: Andriy Khulap <[email protected]> Signed-off-by: Vadym Shovkoplias <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> --- src/mesa/drivers/dri/i965/intel_batchbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index d0999bb3ca..5385347dba 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -1397,7 +1397,7 @@ brw_store_data_imm64(struct brw_context *brw, struct brw_bo *bo, BEGIN_BATCH(5); OUT_BATCH(MI_STORE_DATA_IMM | (5 - 2)); if (devinfo->gen >= 8) - OUT_RELOC64(bo, 0, offset); + OUT_RELOC64(bo, RELOC_WRITE, offset); else { OUT_BATCH(0); /* MBZ */ OUT_RELOC(bo, RELOC_WRITE, offset); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
