diff options
author | Liam <byteslice@airmail.cc> | 2023-04-15 04:53:37 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-04-15 04:53:37 +0200 |
commit | e3fb9b5e0049b87a25c551219d4b009550af5f6d (patch) | |
tree | 3529e92f967aa5196e656020c300652f7fa59cc5 /src/video_core/vulkan_common | |
parent | Merge pull request #10030 from Wollnashorn/botw-amd-fix (diff) | |
download | yuzu-e3fb9b5e0049b87a25c551219d4b009550af5f6d.tar yuzu-e3fb9b5e0049b87a25c551219d4b009550af5f6d.tar.gz yuzu-e3fb9b5e0049b87a25c551219d4b009550af5f6d.tar.bz2 yuzu-e3fb9b5e0049b87a25c551219d4b009550af5f6d.tar.lz yuzu-e3fb9b5e0049b87a25c551219d4b009550af5f6d.tar.xz yuzu-e3fb9b5e0049b87a25c551219d4b009550af5f6d.tar.zst yuzu-e3fb9b5e0049b87a25c551219d4b009550af5f6d.zip |
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 41b5da18a..7d5018151 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -145,7 +145,6 @@ FEATURE_NAME(robustness2, robustImageAccess2) \ FEATURE_NAME(shader_demote_to_helper_invocation, shaderDemoteToHelperInvocation) \ FEATURE_NAME(shader_draw_parameters, shaderDrawParameters) \ - FEATURE_NAME(timeline_semaphore, timelineSemaphore) \ FEATURE_NAME(variable_pointer, variablePointers) \ FEATURE_NAME(variable_pointer, variablePointersStorageBuffer) @@ -158,6 +157,7 @@ FEATURE_NAME(provoking_vertex, provokingVertexLast) \ FEATURE_NAME(shader_float16_int8, shaderFloat16) \ FEATURE_NAME(shader_float16_int8, shaderInt8) \ + FEATURE_NAME(timeline_semaphore, timelineSemaphore) \ FEATURE_NAME(transform_feedback, transformFeedback) \ FEATURE_NAME(uniform_buffer_standard_layout, uniformBufferStandardLayout) \ FEATURE_NAME(vertex_input_dynamic_state, vertexInputDynamicState) @@ -493,6 +493,10 @@ public: return extensions.shader_atomic_int64; } + bool HasTimelineSemaphore() const { + return features.timeline_semaphore.timelineSemaphore; + } + /// Returns the minimum supported version of SPIR-V. u32 SupportedSpirvVersion() const { if (instance_version >= VK_API_VERSION_1_3) { |