upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/vulkan_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/vulkan_backend.h')
-rw-r--r--runtime/src/vulkan_backend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h
index 9aad5a219..9652fd51b 100644
--- a/runtime/src/vulkan_backend.h
+++ b/runtime/src/vulkan_backend.h
@@ -1595,6 +1595,8 @@ public:
1595 void set_before_execute(std::function<void()> before) { before_execute_ = std::move(before); } 1595 void set_before_execute(std::function<void()> before) { before_execute_ = std::move(before); }
1596 1596
1597 // Table VAs are offsets in this device's arena. Install its scanner before creating any queues. 1597 // Table VAs are offsets in this device's arena. Install its scanner before creating any queues.
1598 // (The per-device scan is from the patch descriptor-table-refresh, part 2, of
1599 // Sigtryggur-Mani-Gudmundsson/graphics-runtime-patches at d9a0bc1b, GPL-3.0.)
1598 using TableScanner = std::function<void(std::uint64_t, std::uint32_t)>; 1600 using TableScanner = std::function<void(std::uint64_t, std::uint32_t)>;
1599 void set_table_scanner(TableScanner scan) { table_scanner_ = std::move(scan); } 1601 void set_table_scanner(TableScanner scan) { table_scanner_ = std::move(scan); }
1600 void set_cpu_texture_publisher(std::function<bool()> f) { cpu_texture_publisher_ = std::move(f); } 1602 void set_cpu_texture_publisher(std::function<bool()> f) { cpu_texture_publisher_ = std::move(f); }