diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 14:41:17 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 14:41:17 +0100 |
| commit | 5c6ff05950a546cfc1d172457372f146c3fc58e7 (patch) | |
| tree | 169de5ae1aee664b27a821d61357c0427013e146 /runtime/src/pe_loader.cpp | |
| parent | a0acd33d77babe67a28e398b2936a9f735a50f5d (diff) | |
feat(runtime): implement ID3D12Device::CreateConstantBufferView (GFX10 V#)
Write a 16-byte GFX10 raw buffer V# descriptor (48-bit BufferLocation, stride 0,
num_records = SizeInBytes, GFX10_FORMAT_32_UINT, OobSelect::raw) into the
32-byte CBV_SRV_UAV descriptor slot, zeroing the trailing 16 bytes (or the full
slot for a null description, zero BufferLocation, or zero SizeInBytes).
Verified on Windows 11 with RTX 5080 and Radeon Graphics in d3d12_compute_test:
64/64 dwords matched for CBV A, 32 in-bounds + 32 OOB-zero matched at +128, and
negative controls flipped 64/64 dwords for CBV B and null CBV.
AI Assisted.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions