diff --git a/src/SharpEmu.Libs/Gpu/Images/ImageRequestBuilders.DepthTarget.cs b/src/SharpEmu.Libs/Gpu/Images/ImageRequestBuilders.DepthTarget.cs index c0b7dc3..4c8b467 100644 --- a/src/SharpEmu.Libs/Gpu/Images/ImageRequestBuilders.DepthTarget.cs +++ b/src/SharpEmu.Libs/Gpu/Images/ImageRequestBuilders.DepthTarget.cs @@ -58,7 +58,8 @@ public static partial class ImageRequestBuilders return Format.Undefined; } - private static bool HtileStencilCompatible(bool hasStencil, bool hasHtile, bool htileStencilDisabled) => !hasStencil || !hasHtile || htileStencilDisabled; + private static bool HtileStencilCompatible(bool hasStencil, bool hasHtile, bool htileStencilDisabled) => + !hasStencil || htileStencilDisabled || hasHtile; // Builds the request for the bound depth target. Null when no depth or stencil state is active. public static DepthTargetResolution? DepthTarget(in DepthTargetWords depthWords, IImageFormatSupport device) =>