mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
i965: fix clear color bo address relocation
Fixes:7987d041fd("i965/surface_state: Emit the clear color address instead of value.") Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit420bf14e12)
This commit is contained in:
parent
a47e6da27b
commit
9401dcdb3c
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ brw_emit_surface_state(struct brw_context *brw,
|
|||
if (use_clear_address) {
|
||||
/* Make sure the offset is aligned with a cacheline. */
|
||||
assert((clear_offset & 0x3f) == 0);
|
||||
uint32_t *clear_address =
|
||||
uint64_t *clear_address =
|
||||
state + brw->isl_dev.ss.clear_color_state_offset;
|
||||
*clear_address = brw_state_reloc(&brw->batch,
|
||||
*surf_offset +
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue