diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 21:05:02 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 21:05:02 -0500 |
| commit | a3d4db807c03462a446fda4e7082cec163d6abe2 (patch) | |
| tree | 707cc5aba0395b6667d4e64eb11083ea11e60b5d /runtime/src/vulkan_backend.h | |
| parent | 7067ec7ced5a9f3bda003bf4a646eb8ffcb198ae (diff) | |
Attribution: four patches of graphics-runtime-patches at d9a0bc1b (GPL-3.0, smg)
graphics-root-layout, descriptor-table-refresh, descriptor-write-through and sampler-table-refresh of Sigtryggur-Mani-Gudmundsson/graphics-runtime-patches are in #939 almost as published, about 390 lines, and only one sentence of docs/first_run_ui.md said so. That sentence now names the four, their licence and author and the files they are in, and each code region carries a comment naming its patch. Comments and one doc paragraph only.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/vulkan_backend.h')
| -rw-r--r-- | runtime/src/vulkan_backend.h | 2 |
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); } |