diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 11:41:37 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 11:41:37 -0500 |
| commit | 2fe08d7e18d8a11307ced0b7c04eb650b72bc157 (patch) | |
| tree | 032470a666cd2f94257323c9f8c84fe09e59ebe8 /runtime/src/vulkan_backend.h | |
| parent | ad021b4a2f4617bd36f10f4a5075acaa0107f8ed (diff) | |
| parent | 8af232c5e54906b3b5cc98417d7d3904c82c7b99 (diff) | |
Merge pull request #2084 from Luis Baker
Diffstat (limited to 'runtime/src/vulkan_backend.h')
| -rw-r--r-- | runtime/src/vulkan_backend.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h index 93d7e5259..57615f6f8 100644 --- a/runtime/src/vulkan_backend.h +++ b/runtime/src/vulkan_backend.h | |||
| @@ -1017,6 +1017,12 @@ public: | |||
| 1017 | replay_.zero_offset = offset; | 1017 | replay_.zero_offset = offset; |
| 1018 | replay_.zero_size = size; | 1018 | replay_.zero_size = size; |
| 1019 | } | 1019 | } |
| 1020 | |||
| 1021 | // Physical-device COLOR_ATTACHMENT format check for reinterpreted UAV clears. | ||
| 1022 | void set_color_attachment_format(std::function<bool(VkFormat)> check) { | ||
| 1023 | std::unique_lock lock(resource_mutex_); | ||
| 1024 | replay_.color_attachment_format = std::move(check); | ||
| 1025 | } | ||
| 1020 | std::uint64_t heap_base() { | 1026 | std::uint64_t heap_base() { |
| 1021 | std::shared_lock lock(resource_mutex_); | 1027 | std::shared_lock lock(resource_mutex_); |
| 1022 | return replay_.heap_base; | 1028 | return replay_.heap_base; |