[GPU] Accept HTile-backed compressed stencil targets

Co-authored-by: Sekai <140012992+igettingit@users.noreply.github.com>
This commit is contained in:
ParantezTech 2026-10-06 14:42:11 +03:00
parent 9667375750
commit 46e7e7ea0f
1 changed files with 2 additions and 1 deletions

View File

@ -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) =>