diff options
author | Lionel Landwerlin <[email protected]> | 2018-07-07 14:06:22 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-07-09 09:25:09 -0700 |
commit | 9401dcdb3c168e9ad351cb92894e65ce0e9c8029 (patch) | |
tree | f2c1496f7b6e7ad43a784af1724e3188f4313df2 /src | |
parent | a47e6da27b0edbd71e68182aad460ffff9ff84a9 (diff) |
i965: fix clear color bo address relocation
Fixes: 7987d041fda0c9 ("i965/surface_state: Emit the clear color address instead of value.")
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 420bf14e12f7e55637cfc79da17990bb4f150288)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index 143b1278c18..f47f73bf677 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -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 + |