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:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:37:26 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:37:26 -0500
commit38bd89d44e6a790010de5ad22a6b891e7869fdd8 (patch)
treebd525ee65267496f1b201fa3d5c138847e7f1c1b /runtime/shims/d3d12_com.cpp
parent545e8d51f148ad2c2b26c16b9e1630c634cf5270 (diff)
parent71a783e56fb6eb591849b5c9fb6618ed3af3f595 (diff)
Merge the #984 result as of 71a783e56 into the #939 merge
Fourteen commits the #984 merge gained after 8a242efeb: its own failing tests (xmem_test under Wine, check_tls_index0, vk_bindless_grow, xs_present_lazy_test), the console-heap probe and the poke experiment behind their switches, Python tool fixes, and the title watchdog default. No conflicts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
-rw-r--r--runtime/shims/d3d12_com.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/shims/d3d12_com.cpp b/runtime/shims/d3d12_com.cpp
index 464629228..59d013c2f 100644
--- a/runtime/shims/d3d12_com.cpp
+++ b/runtime/shims/d3d12_com.cpp
@@ -2100,10 +2100,14 @@ public:
2100 for (const GraphicsCommandList* list : graphics) 2100 for (const GraphicsCommandList* list : graphics)
2101 for (const auto& [table, descriptors] : list->tables()) 2101 for (const auto& [table, descriptors] : list->tables())
2102 tables[table] = std::max(tables[table], descriptors); 2102 tables[table] = std::max(tables[table], descriptors);
2103 for (const auto& [table, descriptors] : tables) { // LOCAL DIAGNOSTIC (fsdraw): poke experiment 2103 // LOCAL DIAGNOSTIC (fsdraw): poke experiment, LEONIDA_FSDRAW_POKE_CB=1
2104 const std::uint64_t origin = leonida::fsdraw::table_origin(table); 2104 if (leonida::fsdraw::poke_enabled()) {
2105 if (origin != table) 2105 for (const auto& [table, descriptors] : tables) {
2106 leonida::fsdraw::poke_cb(reinterpret_cast<const std::uint8_t*>(static_cast<std::uintptr_t>(origin))); 2106 const std::uint64_t origin = leonida::fsdraw::table_origin(table);
2107 if (origin != table)
2108 leonida::fsdraw::poke_cb(
2109 reinterpret_cast<const std::uint8_t*>(static_cast<std::uintptr_t>(origin)));
2110 }
2107 } 2111 }
2108 // LOCAL DIAGNOSTIC (fsdraw): what the bound tables hold when the lists are submitted 2112 // LOCAL DIAGNOSTIC (fsdraw): what the bound tables hold when the lists are submitted
2109 if (leonida::local_diagnostics()) { 2113 if (leonida::local_diagnostics()) {