upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/d3d12_com.cpp
diff options
context:
space:
mode:
authorMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 16:21:40 -0600
committerMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 16:21:40 -0600
commit3a4ffa45048d2f385a1083ff2c6f654b5f1eac27 (patch)
treea6a3a75a3164a35de25d4d5c04d7221592c63cdf /runtime/shims/d3d12_com.cpp
parent0c7ec65c0e0d1890139eda86cc92fc4f0ed830e6 (diff)
local: graphics stage layout experiment (s8), CB diagnostics
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
-rw-r--r--runtime/shims/d3d12_com.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/shims/d3d12_com.cpp b/runtime/shims/d3d12_com.cpp
index bf51da8e0..a49782744 100644
--- a/runtime/shims/d3d12_com.cpp
+++ b/runtime/shims/d3d12_com.cpp
@@ -1274,7 +1274,8 @@ private:
1274 write(state, first, std::uint32_t(va)); 1274 write(state, first, std::uint32_t(va));
1275 // In the compute layout a descriptor table is one dword, the 32-bit VA of its first descriptor (the heaps 1275 // In the compute layout a descriptor table is one dword, the 32-bit VA of its first descriptor (the heaps
1276 // live below 4 GiB); a root view keeps both halves. The graphics layout gives every address two dwords. 1276 // live below 4 GiB); a root view keeps both halves. The graphics layout gives every address two dwords.
1277 if (!(is_compute(state) && type == rt::rootsig::ParamType::Table)) write(state, first + 1, std::uint32_t(va >> 32)); 1277 if (!((is_compute(state) || local_graphics_stage_layout()) && type == rt::rootsig::ParamType::Table))
1278 write(state, first + 1, std::uint32_t(va >> 32));
1278 } 1279 }
1279 1280
1280 D3D12_COMMAND_LIST_TYPE type_; 1281 D3D12_COMMAND_LIST_TYPE type_;