projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d24108
)
Partial revert "i965: "Fix" aux offsets"
author
Ben Widawsky
<ben@bwidawsk.net>
Wed, 16 Nov 2016 19:39:29 +0000
(11:39 -0800)
committer
Ben Widawsky
<ben@bwidawsk.net>
Wed, 16 Nov 2016 19:40:12 +0000
(11:40 -0800)
This partially reverts commit
0d241085f723402120b4b47e939fe77020a16d80
.
HiZ buffer cannot do this properly now, and it's not required, so remove
it.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
patch
|
blob
|
history
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 77198ae16445783f89c6616000e55f6ab78901f4..835a46867491d77dacdab53a9967abf639eb7ebf 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@
-148,8
+148,7
@@
brw_emit_surface_state(struct brw_context *brw,
aux_offset = mt->mcs_buf->bo->offset64 + mt->mcs_buf->offset;
} else {
aux_bo = mt->hiz_buf->aux_base.bo;
- aux_offset = mt->hiz_buf->aux_base.bo->offset64 +
- mt->hiz_buf->mt->offset;
+ aux_offset = mt->hiz_buf->aux_base.bo->offset64;
}
/* We only really need a clear color if we also have an auxiliary