diff options
| author | Aslan2142 <jan.trencansky@protonmail.com> | 2026-11-26 02:52:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-26 02:52:29 +0100 |
| commit | ef3493186028023b1fbd2ca3a255ba4337f230da (patch) | |
| tree | 185ab0d5a302439caefbf2886448aa7e9beaca4b /runtime/src/vulkan_backend.h | |
| parent | 8ff7bc5b23f02d017ab9c33ddc8a043da6e9fc08 (diff) | |
| parent | 40a69e008403e152e52a0c1983e7e6674b71ff7b (diff) | |
Merge pull request #2123 from qhukz13/cont/d16s8-d24-uav
d3d12: depth-stencil UAVs for console D16S8 (format 118) made as D24S8
Diffstat (limited to 'runtime/src/vulkan_backend.h')
| -rw-r--r-- | runtime/src/vulkan_backend.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/src/vulkan_backend.h b/runtime/src/vulkan_backend.h index 4a4d9d485..4e47057f2 100644 --- a/runtime/src/vulkan_backend.h +++ b/runtime/src/vulkan_backend.h | |||
| @@ -1920,6 +1920,11 @@ public: | |||
| 1920 | }; | 1920 | }; |
| 1921 | } | 1921 | } |
| 1922 | 1922 | ||
| 1923 | bool has_depth24() { | ||
| 1924 | std::shared_lock lock(resource_mutex_); | ||
| 1925 | return depth24_ != nullptr; | ||
| 1926 | } | ||
| 1927 | |||
| 1923 | // Copies the replay stages through a buffer (depth <-> colour, vulkan_replay.h) take device-local scratch from | 1928 | // Copies the replay stages through a buffer (depth <-> colour, vulkan_replay.h) take device-local scratch from |
| 1924 | // `allocate`. Without this such a copy is refused as unsupported. `extra_usage` is added to the chunks' transfer | 1929 | // `allocate`. Without this such a copy is refused as unsupported. `extra_usage` is added to the chunks' transfer |
| 1925 | // usage, for configure_quad_indices. | 1930 | // usage, for configure_quad_indices. |