shader: preserve SPIR-V minimum sample LOD in HLSL #798
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/804"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T06:12:23Z.
Map SPIR-V
MinLodto the HLSL sampling clamp in the pinned SPIRV-Cross build and include the patch in the Windows tool cache key. The source-built fixture draws three 2D sample forms against distinct mip colors and rejects the unclamped draw at pixel (0, 0).Local Release build at
747b21apassedctest --test-dir out/shader-minlod/pr-build --no-tests=error --output-on-failure -R '^spirv_'(12 passed, zero skips). Windows 11 26200.9974, RTX 4060 Laptop 32.0.16.1656 and WARP 10.0.26100.9818, debug layer enabled on both.A separate local archive experiment compiled all 29 previously blocked pixel records to DXIL and created their PSOs on both adapters. Controlled draws with synthetic bindings wrote color for 19 records on both. Seven matched byte for byte and 12 differed. WARP reached a 45-second budget on four records and drew six with no color writes. RTX drew ten with no color writes. The controlled draws compare adapters under the same desktop bindings. Original shader outputs under package bindings remain unverified.