diff options
| author | Mumogg <104529023+Mumogg@users.noreply.github.com> | 2026-11-23 14:35:25 -0600 |
|---|---|---|
| committer | Mumogg <104529023+Mumogg@users.noreply.github.com> | 2026-11-23 14:35:25 -0600 |
| commit | e64653e58599b0372a3e3e4d8909bd652eb704e8 (patch) | |
| tree | 5585bd2849f0d9ab58a7109c181aae60d82ecd3c /runtime/src/vulkan_backend.h | |
| parent | d8ba5ff389ba41478bd2733237a359c6ce070a42 (diff) | |
| parent | 81caaa165312c32d5cb9fe7afd4b36ed4f8b6c9a (diff) | |
Merge branch 'pr7448' into local/ladder-frame-wine
Diffstat (limited to 'runtime/src/vulkan_backend.h')
| -rw-r--r-- | runtime/src/vulkan_backend.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h index 73d830ac1..77c8827b0 100644 --- a/runtime/src/vulkan_backend.h +++ b/runtime/src/vulkan_backend.h | |||
| @@ -1247,6 +1247,14 @@ public: | |||
| 1247 | replay_.zero_size = size; | 1247 | replay_.zero_size = size; |
| 1248 | } | 1248 | } |
| 1249 | 1249 | ||
| 1250 | // 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) { | ||
| 1252 | std::unique_lock lock(resource_mutex_); | ||
| 1253 | replay_.quad_indices = buffer; | ||
| 1254 | replay_.quad_indices_offset = offset; | ||
| 1255 | replay_.quad_index_count = count; | ||
| 1256 | } | ||
| 1257 | |||
| 1250 | // Physical-device COLOR_ATTACHMENT format check for reinterpreted UAV clears. | 1258 | // Physical-device COLOR_ATTACHMENT format check for reinterpreted UAV clears. |
| 1251 | void set_color_attachment_format(std::function<bool(VkFormat)> check) { | 1259 | void set_color_attachment_format(std::function<bool(VkFormat)> check) { |
| 1252 | std::unique_lock lock(resource_mutex_); | 1260 | std::unique_lock lock(resource_mutex_); |