shader: run the SPIR-V MinLod smoke test at Shader Model 6.0 #818
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/824"
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 Jess-Doit on 2026-11-23T09:03:27Z.
Change
Run the source-built SPIR-V MinLod smoke fixture at
ps_6_0so the GTX 1060 and Windows 10 in-box WARP can exerciseSample,SampleBiaswith a texel offset, andSampleGrad. The capability self-test verifies that the smoke command accepts SM 6.0 without WaveOps or Int64ShaderOps and reports skip code 77 below SM 6.0.Refs #809. The shared capability table edits merge cleanly with #821.
Verification
Tested
bf29caeon Windows 10 22H2 build 19045.6456 with DXC 1.9.2602.17, patched SPIRV-Cross57e4efc, and Vulkan SDK 1.4.363.0 assembly and validation tools. The smoke fixture passed in Debug and Release on the GTX 1060 6 GB (32.0.15.6094), in-box WARP (10.0.19041.5794), and app-local WARP 1.0.22 with Agility SDK 1.620.2. Each positive case matched all 64 pixels. The no-clamp control exited 1 at pixel(0, 0). All 24 smoke draws reported zero D3D12 warnings and errors.Each in-box run had six passes and four SM 6.6 capability skips in the detailed MinLod and comparison-sampler fixtures. Each app-local run passed nine tests with zero skips, including all seven SPIR-V bridge checks. Documentation links, bidi controls, and
git diff --checkpassed.Evidence and follow-up
The detailed MinLod tests retain SM 6.6. In a separate probe at
ps_6_0andps_6_2, in-box WARP selected green mip 1 for a fractional point-filtered clamp of1.5625in both translated and direct HLSL forms. ExplicitSampleLevelselected blue mip 2, and linear filtering produced the expected green/blue blend of0.4375/0.5625. A two-mip probe at clamp0.5625confirmed the same distinction. The full point-filter expectations stay in place.Checklist
AI-assisted (Codex).