Skip to content

anv: Allow HiZ in read-only depth layouts

These layouts don't mean "sampled" they mean the same thing as DEPTH_STENCIL_OPTIMAL only the client promises to not write the depth or stencil buffer as indicated. Since HiZ depth testing is much faster than non-HiZ depth testing, we really don't want to disable HiZ for these.

Edited by Faith Ekstrand

Merge request reports