mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
i965: Set default MOCS for NULL depth/stencil/HiZ buffers
isl now uses info->mocs regardless of whether there's any actual depth/stencil/HiZ buffers involved, so pass it a legitimate one, rather than zero. When we have entirely NULL surfaces, we just default to the MOCS value for an internal buffer. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>
This commit is contained in:
parent
f0a5f10b6c
commit
d0e356b333
1 changed files with 1 additions and 0 deletions
|
|
@ -365,6 +365,7 @@ brw_emit_depthbuffer(struct brw_context *brw)
|
|||
|
||||
struct isl_depth_stencil_hiz_emit_info info = {
|
||||
.view = &view,
|
||||
.mocs = brw_mocs(&brw->isl_dev, NULL),
|
||||
};
|
||||
|
||||
if (depth_mt) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue