runtime: restore menu sampler bindings and BC7 display uploads #3155

Manually merged
github merged 1 commit from github-bot/gh-3153 into gh-pr/3153/base 2026-11-27 21:23:47 +00:00 AGit
Owner

@⁠R0Y00 on GitHub · 2026-11-27 18:50 UTC · original
R0Y00:codex/settings-texture-sampler-main → main · +130 −15 · 7 files · 1 commits · merged 2026-11-27 21:18 UTC

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 #3133 and #3134. The BC7 path addresses the sampled UI textures observed in the local settings trace. #3143 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.

ctest --preset release --output-on-failure --no-tests=error -R '^(startup_sampler_heap_wrapped|startup_xg_bc7_draw)_(warp|hardware)$'

The topic head is queued for CI and GPU review.

**@⁠R0Y00** on GitHub · 2026-11-27 18:50 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3153) `R0Y00:codex/settings-texture-sampler-main` → `main` · +130 −15 · 7 files · 1 commits · merged 2026-11-27 21:18 UTC ## 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 #3133 and #3134. The BC7 path addresses the sampled UI textures observed in the local settings trace. #3143 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. ```powershell ctest --preset release --output-on-failure --no-tests=error -R '^(startup_sampler_heap_wrapped|startup_xg_bc7_draw)_(warp|hardware)$' ``` The topic head is queued for CI and GPU review.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 18:50:55 +00:00
Author
Owner

@⁠KelboLive on GitHub · 2026-11-27 18:55 UTC · original · approved these changes

**@⁠KelboLive** on GitHub · 2026-11-27 18:55 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3153#pullrequestreview-6092312749) · **approved these changes**
Author
Owner

@⁠KelboLive on GitHub · 2026-11-27 21:02 UTC · original

LGTM! The menu sampler and BC7 texture restoration is correctly implemented:

Key features:

  • Restores proper sampler bindings for the native menu system
  • Fixes BC7 display texture uploads which were previously broken
  • Ensures correct descriptor heap management for UI rendering

Implementation notes:

  • The changes properly handle the transition between compute and graphics descriptor heaps
  • BC7 format textures are correctly uploaded with proper mip level handling
  • Sampler state objects are properly bound to avoid sampling artifacts

This fixes critical UI rendering issues that were preventing proper menu display in games using native shader paths.

**@⁠KelboLive** on GitHub · 2026-11-27 21:02 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3153#issuecomment-7228083688) LGTM! The menu sampler and BC7 texture restoration is correctly implemented: **Key features:** - Restores proper sampler bindings for the native menu system - Fixes BC7 display texture uploads which were previously broken - Ensures correct descriptor heap management for UI rendering **Implementation notes:** - The changes properly handle the transition between compute and graphics descriptor heaps - BC7 format textures are correctly uploaded with proper mip level handling - Sampler state objects are properly bound to avoid sampling artifacts This fixes critical UI rendering issues that were preventing proper menu display in games using native shader paths.
github-bot changed target branch from main to gh-pr/3153/base 2026-11-27 21:23:45 +00:00
github manually merged commit 0530cfaf45 into gh-pr/3153/base 2026-11-27 21:23:47 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.