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:
authorMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 15:20:43 -0600
committerMumogg <104529023+Mumogg@users.noreply.github.com>2026-11-23 15:20:43 -0600
commit237f9e0ba83c8b8e740dd7bcc0e10d311fddb897 (patch)
tree4890c217a2c816e61874897ebe6e37eea254f86a /runtime/src/vulkan_backend.h
parente64653e58599b0372a3e3e4d8909bd652eb704e8 (diff)
local: diagnostics (draw/present/clear/rect state), rect experiments
Diffstat (limited to 'runtime/src/vulkan_backend.h')
-rw-r--r--runtime/src/vulkan_backend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h
index 77c8827b0..0d4d84d6b 100644
--- a/runtime/src/vulkan_backend.h
+++ b/runtime/src/vulkan_backend.h
@@ -1247,6 +1247,12 @@ public:
1247 replay_.zero_size = size; 1247 replay_.zero_size = size;
1248 } 1248 }
1249 1249
1250 // LOCAL: the copy-in fallback for vertex and index views in title memory (ReplayFunctions::title_memory).
1251 void set_title_memory(std::function<bool(std::uint64_t, std::uint64_t, VkBuffer&, VkDeviceSize&)> copy) {
1252 std::unique_lock lock(resource_mutex_);
1253 replay_.title_memory = std::move(copy);
1254 }
1255
1250 // Pre-expanded 32-bit triangle indices for non-indexed quad lists (ReplayFunctions::quad_indices). 1256 // Pre-expanded 32-bit triangle indices for non-indexed quad lists (ReplayFunctions::quad_indices).
1251 void set_quad_indices(VkBuffer buffer, VkDeviceSize offset, std::uint32_t count) { 1257 void set_quad_indices(VkBuffer buffer, VkDeviceSize offset, std::uint32_t count) {
1252 std::unique_lock lock(resource_mutex_); 1258 std::unique_lock lock(resource_mutex_);