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. We just assume a generic internal MOCS when we
have entirely NULL surfaces.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>
} else if (params->stencil.enabled) {
info.view = ¶ms->stencil.view;
info.mocs = params->stencil.addr.mocs;
+ } else {
+ info.mocs = isl_mocs(isl_dev, 0, false);
}
if (params->depth.enabled) {