ac/surface/gfx12: turn off HiZ for pre-production samples
Fixes: f703dfd1bb
- radeonsi: add gfx12
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30525>
This commit is contained in:
@@ -3015,7 +3015,7 @@ static bool gfx12_compute_hiz_his_info(struct ac_addrlib *addrlib, const struct
|
||||
{
|
||||
assert(surf_in->flags.depth != surf_in->flags.stencil);
|
||||
|
||||
if (surf->flags & RADEON_SURF_NO_HTILE)
|
||||
if (surf->flags & RADEON_SURF_NO_HTILE || (info->gfx_level == GFX12 && info->chip_rev == 0))
|
||||
return true;
|
||||
|
||||
ADDR3_COMPUTE_SURFACE_INFO_OUTPUT out = {0};
|
||||
|
Reference in New Issue
Block a user