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:
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_;