Repository navigation
D3D-68: verify B5G5R5A1 shader sampling and odd-width footprints - #617
VictorJulianiR wants to merge 5 commits into
Conversation
|
Dependency update: #562 now includes main #610 also supplies the same B5G5R5A1 resource and copy mappings. The sampled-alpha check here remains independent of its byte-copy cases. The landing-order note on #610 applies to those two switch labels if that PR lands first. |
|
@Vonsek, #617 now includes your f5f4cb0 rebase at 0175e92. The UINT view stays at slot 0, RGB9E5 at the released cube slot 6, and B5G5R5A1 at slot 8. The hosted run matched all 64 texels per format and read 0, 1 and 255 from the three border sampler cases with validation enabled. Thanks for checking the combination on the RTX 5080. Updated Windows result |
|
Tested 0175e92 merged onto main c432cdc on NVIDIA GeForce RTX 4060 Ti (Ada), driver 32.0.16.2124 (NVIDIA 621.24), Windows 11 Home 26300, MSVC 2022 / Ninja, Vulkan SDK 1.4.363: pass. Besides ctest, I ran each test program this PR changes directly (several aren't registered with ctest):
ctest: 100% tests passed, 0 tests failed out of 27. AI-assisted. |
|
Tested 0175e92 on RTX 4090 (driver 621.14), Windows 11 26200, MSVC 19.44: pass
No game files used. AI-assisted run (Claude Code). |
|
Checked the packed fixture arithmetic at |
|
@VictorJulianiR heads-up for the rebase: AI-assisted (Claude Code). |
|
Tested
AI-assisted (Claude Code). |
|
@AC-Storm-YT, |
|
D3D-68 landed via the maintainer's merge of the tested I am closing this PR because its only remaining delta renames three locals. @ismailchaka1 already owns that cleanup in #765 (TEST-106). The loop on main now handles B4 and B5; |
|
Tested #617 at d3d12_vulkan_device_test: All host comparisons match
ctest: 29/29 PASS with Note: Exit code 1 from AI-assisted. |
Depends on: #562 (merged).
D3D-68, claimed on the coordination board. Current main already maps
B5G5R5A1_UNORMand copies it at two bytes per texel. The remaining diff adds sampling and odd-width footprint tests, and documents the sampled alpha behavior. It changes no runtime code.The descriptor test uploads four packed words, including red with and without alpha, and checks all four channels after sampling through the bindless set. It reuses the existing B4 upload and view after a fence. The WARP footprint case covers a 13×7 texture, four mip levels, two layers and two base offsets.
5e55015, Windows Server 2022, MSVC and Mesa 26.3.1 llvmpipe with validation enabled, all 64 B5G5R5A1 samples matched. The B4, RGBA8, RGB9E5, fallback and border checks passed. Forcing alpha on the transparent-red input failed the intended assertion. Standalone run.e36f74f, MSVC reported zero C4456 warnings in the descriptor test after renaming the three per-format locals. The B4 and B5 readbacks still matched 64 texels each, the alpha control failed as expected, and both footprint and tiling comparisons returned zero mismatches. Windows verification.0xc118: WARP packs blue to 197, while the standalone Vulkan path on llvmpipe packs it to 198. The committed mixed-channel word0xc117produces (132, 66, 189, 255) on both. Native readback · Direct Vulkan precision control.ID3D12GraphicsCommandList7. Combined run · Unmodified main.AI-assisted. All inputs were synthetic. The hosted readbacks used Windows software adapters.