Resolve a NaN clear as Metal does in a pass whose draw calls draw nothing

The steps this packet landed as, in order:
- Leave a resolve texture untouched where Metal's tile is not stored into its format
- Take setDepthCleared, setStencilCleared and setVertexAmplificationMode as Metal does
- Run the private alpha test in the fragment function as Metal tests it
- Clamp depth comparison references as Metal's fragmentDepthCompareClampMask says
- Take vertexAmplificationMode and explicitVisibilityGroupID as Metal does
- Record no restricted depth range where the driver keeps depth values outside [0, 1]
- Draw Metal's private logic operation: copy and no-op everywhere, the rest through logicOp
- Leave the default alpha test and clamp mask out of the inputs encoding test's derived Debug
- Clamp the reference of a depth comparison the shader makes under the clamp mask
- Key each Vulkan logic operation's pipeline apart
- Refuse a multisampled extended-range resolve naming its format and Metal's rule

Content: the tree of `development` at 0231dbbd54, unchanged.
This commit is contained in:
Anees Iqbal committed 2026-10-26 13:19:05 +02:00
1 parent 123a9919fc
commit 1400c9049f
66 files changed
+3258 -353

No files matched your search

+1 -1
View File
@@ -2490,7 +2490,7 @@ fast forms record, and each `PrecisionNote`'s rustdoc states its bound.
may answer another sign or payload (llvmpipe: `0xffc00000`).
- `metal2vulkan-degrade-restricted-depth-range` (precision). `PrecisionNote::RestrictedDepthRange`:
The device compares a depth texture's texels on a device without `VK_EXT_depth_range_unrestricted`
enabled.
enabled whose driver is not measured to keep depth values outside `[0, 1]` without it.
- `metal2vulkan-degrade-cube-gradient-footprint` (precision).
`PrecisionNote::CubeGradientFootprint`: An explicit-gradient sample of a cube texture takes
Metal's footprint in a form a Vulkan device reads alike, but for what is not reproduced. Cost: