Skip to content

anv: Do not sample from 3d depth image with HiZ

For Gen8-11, there are some restrictions around sampling from HiZ.
The Skylake PRM docs for RENDER_SURFACE_STATE::AuxiliarySurfaceMode say:

    If this field is set to AUX_HIZ, Number of Multisamples must
    be MULTISAMPLECOUNT_1, and Surface Type cannot be SURFTYPE_3D.

Fixes: dEQP-VK.geometry.layered.3d.*.readback

Closes: #2720 (closed)

CI results: https://mesa-ci.01.org/global_logic/builds/254/group/63a9f0ea7bb98050796b649e85481845

Merge request reports