shader: preserve SPIR-V minimum sample LOD in HLSL #804
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!804
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/804/head"
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?
@R0Y00 on GitHub · 2026-11-23 06:12 UTC · original
R0Y00:codex/spirv-minlod→main· +165 −5 · 8 files · 1 commits · merged 2026-11-23 06:29 UTCMap 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.