upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 15:33:50 +0100
committerAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-22 15:33:50 +0100
commitf209d86b8fbe8983803ff7ec4c042d8c93275321 (patch)
tree300da7e39f67a02bdef1c617b5971287621cfdc7 /runtime/test/tiny_game_exit_code_test.cpp
parent967564a20c96f188982832102c0206957e761a2a (diff)
D3D12 layer: typed buffer UAVs and UAV counters (V# FORMAT, counter V# in the slot), d3d12_buffer_uav_test
CreateUnorderedAccessView on a buffer with a typed Format writes a typed V# (GFX10_FORMAT code, element size as stride, element count, OOB_SELECT structured, the format's own DST_SEL), and a structured view with pCounterResource + CounterOffsetInBytes writes a second raw 4-byte V# in the upper 16 bytes of the slot (a hypothesis for the console contract, documented in section 3.4). The combinations D3D12 documents as invalid leave a null slot. d3d12_buffer_uav_test runs two hand-written RDNA2 compute shaders through the translator (typed store/load/atomic on five formats with NUM_RECORDS as the bound; append by 256 lanes and consume by 128 on a counter at offset 4096, read back with CopyBufferRegion) against a CPU reference, then compares typed-buffer and counter clears with the host D3D12 runtime on the same adapter (LUID). Depends on: #1791 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions