i965,iris: Delete misleading HiZ sampling comments
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Nov 2020 14:50:55 +0000 (06:50 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Feb 2021 20:48:01 +0000 (20:48 +0000)
commit4c6882c09007c6f7b1d4f1224e61ac2e0ac5882c
treee96e48738b32d704626bf234219624cf610e8bbd
parentf961cf2047d6a1a1cd3f15b20821ea4aa0aa90be
i965,iris: Delete misleading HiZ sampling comments

One comment seems to suggest that MCS (which is needed for compressed
multisampling) can be used to sample from a multisampled depth buffer.
This is not the case. Multisampled depth buffers are sampled without an
auxiliary surface.

Another comment seems to suggest that some depth buffers don't have
corresponding levels in their HiZ buffers. Each main slice *should* have
a corresponding aux slice, but not all of these slices have equal
support for HiZ ops (e.g. ambiguates aren't really supported on
non-8x4-aligned slices).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8853>
src/gallium/drivers/iris/iris_resolve.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c