mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-27 21:36:54 +01:00
Accept EXPCLEAR acceleration on expanded depth attachments
This commit is contained in:
@@ -159,8 +159,8 @@ static TextureCache::ImageDesc MakeDepthTargetDesc(const CommandBuffer& buffer,
|
|||||||
DepthFatal("invalid depth view: base=%u last=%u", z.depth_view.slice_start,
|
DepthFatal("invalid depth view: base=%u last=%u", z.depth_view.slice_start,
|
||||||
z.depth_view.slice_max);
|
z.depth_view.slice_max);
|
||||||
}
|
}
|
||||||
if (z.z_info.expclear_enabled || z.stencil_info.expclear_enabled ||
|
// EXPCLEAR permits an HTile acceleration state; the host attachment is already expanded.
|
||||||
z.z_info.partially_resident ||
|
if (z.z_info.partially_resident ||
|
||||||
z.stencil_info.partially_resident || z.z_info.max_mip_level != 0 ||
|
z.stencil_info.partially_resident || z.z_info.max_mip_level != 0 ||
|
||||||
z.depth_view.current_mip_level != 0 || unsupported_shading_rate_encoding ||
|
z.depth_view.current_mip_level != 0 || unsupported_shading_rate_encoding ||
|
||||||
depth_address == 0 || (depth_address & 0xffffu) != 0) {
|
depth_address == 0 || (depth_address & 0xffffu) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user