[Help Wanted] Implement console-way D3D12 sampler feedback map readback/clear and query accumulator resolve path in d3d12_xs #23

Closed
opened 2026-11-26 19:10:55 +00:00 by github-bot · 0 comments
Owner

@⁠californiaAlmonds on GitHub · 2026-11-22 08:35 UTC · original

Summary

Two console-specific D3D12 graphics features used by modern Series X|S engines (virtual texturing / streaming and GPU-driven occlusion/timing queries) need dedicated support in d3d12_xs:

  1. Console-way Sampler Feedback Map Readback & Clear:
    • Support Xbox-style sampler feedback map readback (ResolveSubresourceRegion / min-mip & mip-region-used decode) and clear (ClearUnorderedAccessViewUint semantics) while ensuring sampler feedback views/resources are preserved cleanly on Desktop D3D12 without validation errors or silent drops.
  2. D3D12 Query Accumulator / Resolve Path:
    • Implement a hardware query accumulator / resolve helper path in d3d12_xs supporting occlusion, binary occlusion, timestamp, and pipeline-statistics queries across command lists with clean readback on both Desktop D3D12 and Vulkan-routed paths.

Acceptance Criteria

  • Live GPU + WARP unit tests verifying:
    • Sampler feedback map creation, view preservation, clear, and min-mip/mip-region readback.
    • Occlusion + timestamp + pipeline-statistics query accumulation and resolve readback.
  • Zero regressions across ctest --output-on-failure and 0 compiler warnings.

This can be tackled in one PR or split into two smaller PRs (one for sampler feedback, one for query accumulator). Comment below or join our Discord to coordinate: https://discord.gg/sShMY2fjR

**@⁠californiaAlmonds** on GitHub · 2026-11-22 08:35 UTC · [original](https://github.com/californiaAlmonds/OpenScarlett/issues/23) ## Summary Two console-specific D3D12 graphics features used by modern Series X|S engines (virtual texturing / streaming and GPU-driven occlusion/timing queries) need dedicated support in `d3d12_xs`: 1. **Console-way Sampler Feedback Map Readback & Clear:** - Support Xbox-style sampler feedback map readback (`ResolveSubresourceRegion` / min-mip & mip-region-used decode) and clear (`ClearUnorderedAccessViewUint` semantics) while ensuring sampler feedback views/resources are preserved cleanly on Desktop D3D12 without validation errors or silent drops. 2. **D3D12 Query Accumulator / Resolve Path:** - Implement a hardware query accumulator / resolve helper path in `d3d12_xs` supporting occlusion, binary occlusion, timestamp, and pipeline-statistics queries across command lists with clean readback on both Desktop D3D12 and Vulkan-routed paths. ## Acceptance Criteria - Live GPU + WARP unit tests verifying: - Sampler feedback map creation, view preservation, clear, and min-mip/mip-region readback. - Occlusion + timestamp + pipeline-statistics query accumulation and resolve readback. - Zero regressions across `ctest --output-on-failure` and 0 compiler warnings. --- This can be tackled in one PR or split into two smaller PRs (one for sampler feedback, one for query accumulator). Comment below or join our Discord to coordinate: https://discord.gg/sShMY2fjR
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:10:55 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.