commit | 8336054024946bc74914fc7f24a5a33b7a9e357f | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Tue Oct 19 05:27:04 2021 -0700 |
committer | Marge Bot <emma+marge@anholt.net> | Thu Oct 28 19:45:55 2021 +0000 |
tree | 2b350ebb532f4ea9308fe8ed5b7c72349919b060 | |
parent | 0a5e2257793bc67731b0ea19ca1138ab65e8e194 [diff] |
iris: 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 isl's MOCS value for an internal depth buffer. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>