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.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/shims/d3d12_com.cpp b/runtime/shims/d3d12_com.cpp
index f67254bc5..7fcfceebb 100644
--- a/runtime/shims/d3d12_com.cpp
+++ b/runtime/shims/d3d12_com.cpp
@@ -1248,8 +1248,10 @@ private:
1248 const std::uint32_t first = first_dword(state, *p); 1248 const std::uint32_t first = first_dword(state, *p);
1249 write(state, first, std::uint32_t(va)); 1249 write(state, first, std::uint32_t(va));
1250 // In the console layout of both bind points a descriptor table is one dword, the 32-bit VA of its first 1250 // In the console layout of both bind points a descriptor table is one dword, the 32-bit VA of its first
1251 // descriptor (the heaps live below 4 GiB); a root view keeps both halves (D3D-448). 1251 // descriptor (the heaps live below 4 GiB); a root view keeps both halves (D3D-448). A graphics signature
1252 if (type != rt::rootsig::ParamType::Table) write(state, first + 1, std::uint32_t(va >> 32)); 1252 // past the console window keeps pack()'s layout, where every address takes two dwords.
1253 const bool console = is_compute(state) || state.layout->graphics_console;
1254 if (!(console && type == rt::rootsig::ParamType::Table)) write(state, first + 1, std::uint32_t(va >> 32));
1253 } 1255 }
1254 1256
1255 D3D12_COMMAND_LIST_TYPE type_; 1257 D3D12_COMMAND_LIST_TYPE type_;