diff options
| author | d7ommy <abnalstlll@gmail.com> | 2026-11-26 01:58:24 +0300 |
|---|---|---|
| committer | d7ommy <abnalstlll@gmail.com> | 2026-11-26 01:58:24 +0300 |
| commit | 92170fe7af4739242723ff78b6cddd129986e536 (patch) | |
| tree | c27d69d2439c19576bd261a14214170a519bd0f5 /docs/coder.md | |
| parent | 5fab9396763ca4d052af8abc71f29ad200e7b5ef (diff) | |
d3d12: remap directly-indexed heaps to arena shader VA (RT-DIRECT-HEAP-ARENA-REMAP)
In write_direct_heaps(), the bound resource and sampler heaps were passed using raw cbv_srv_uav_base_ and sampler_base_. For console descriptor heaps shadowed in the GPU address arena, this supplied the title's host console VA rather than the shader VA where GPU descriptor reads land, triggering GPU device loss (READ_INVALID) in compute/graphics passes during world transition.
Remap the bound bases through console_descriptor_table_va() before writing them to user SGPRs and tracking in remember_table() and graphics_user_data(). Update d3d12_set_descriptor_heaps_test to assert that recorded dispatch user data receives the remapped console_descriptor_table_va addresses.
AI-assisted (Claude Code, Claude Opus 5.5).
Diffstat (limited to 'docs/coder.md')
0 files changed, 0 insertions, 0 deletions