diff --git a/src/graphics/host_gpu/renderer/depthRenderTarget.cpp b/src/graphics/host_gpu/renderer/depthRenderTarget.cpp index d689b84a0..507da9bb9 100644 --- a/src/graphics/host_gpu/renderer/depthRenderTarget.cpp +++ b/src/graphics/host_gpu/renderer/depthRenderTarget.cpp @@ -159,8 +159,8 @@ static TextureCache::ImageDesc MakeDepthTargetDesc(const CommandBuffer& buffer, DepthFatal("invalid depth view: base=%u last=%u", z.depth_view.slice_start, z.depth_view.slice_max); } - if (z.z_info.expclear_enabled || z.stencil_info.expclear_enabled || - z.z_info.partially_resident || + // EXPCLEAR permits an HTile acceleration state; the host attachment is already expanded. + if (z.z_info.partially_resident || z.stencil_info.partially_resident || z.z_info.max_mip_level != 0 || z.depth_view.current_mip_level != 0 || unsupported_shading_rate_encoding || depth_address == 0 || (depth_address & 0xffffu) != 0) {