runtime: restore menu sampler bindings and BC7 display uploads #3153
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3153"
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-27T18:50:19Z.
Changes
Restore extended sampler creation and mirrored heap bindings for translated graphics. Upload sampled, CPU-backed BC7 textures with guest layout 0x10a through the existing 64 KiB display detiler.
Refs #3131 and #3132. The BC7 path addresses the sampled UI textures observed in the local settings trace. #3141 exercises other upload and copy routes.
Validation
The local integration build passed the wrapped sampler and BC7 draw checks on WARP and RTX 4060 Laptop GPU on Windows 11 build 26200. The wrapped sampler fixture runs with the D3D12 debug layer enabled. The manual empty-profile run used the same runtime changes in the local integration build.
The topic head is queued for CI and GPU review.
Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-27T21:02:54Z.
LGTM! The menu sampler and BC7 texture restoration is correctly implemented:
Key features:
Implementation notes:
This fixes critical UI rendering issues that were preventing proper menu display in games using native shader paths.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T21:18:31Z.
Review: COMMENTED
Merge verification for
0530cfaf(independently approved by KelboLive at this head). Onmaincf3df832plus the PR, Debug and Release/O2passed 4/4, zero skips. Aftermainadvanced toe240a8b0, I rebuilt and reran Release on the resulting tree3a7808c7804384995b1d1c61b4686a9df3185683: 4/4, zero skips.Built
startup_stream_consumer d3d12_xs_shim. Command:ctest --test-dir <build> --no-tests=error -j 1 -V -R '^(startup_sampler_heap_wrapped|startup_xg_bc7_draw)_(warp|hardware)$'. Wrapped console and desktop sampler tokens and copies matched. The 512×256 display-64K BC7 draw matched all 131,072 reference pixels on WARP and RTX, along with the prior linear and tiled cases. Windows26200.9974, WARP10.0.26100.9818, RTX 4060 Laptop driver32.0.16.1656, SDK/DXC10.0.26100.0; the wrapped-sampler fixture enabled the debug layer.Overlap with #3141 head
f73816e8: the trial merge was clean and passed 8/8 in Release oncf3df832with both PRs (treed2d6086058dc9fcd96c47b2884b78aa43ac6b7bd). In addition to the above checks, the UI bands andCopyTextureRegionsuites passed on both adapters. #3153 uploads CPU-backed BC7 display data; #3141 tracks GPU texture copies and fills the XG full-mip footprint case. The original-executable observation remains in #870; these reruns used source-built fixtures. The required GitHub Windows check passed.