summaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorGravatar bunnei2023-05-02 17:52:41 -0700
committerGravatar bunnei2023-06-03 00:05:58 -0700
commitca4bf3844eb317c816f4b316967c7ae6697473d6 (patch)
treeac5ff04295d4babc574a70485ba1b5c4187189c0 /src/video_core/vulkan_common
parentandroid: fix deadzone calculation (diff)
downloadyuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.gz
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.xz
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.zip
video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise.
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index f9d8c47ba..3c9d11617 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -295,6 +295,11 @@ public:
295 return features.features.textureCompressionASTC_LDR; 295 return features.features.textureCompressionASTC_LDR;
296 } 296 }
297 297
298 /// Returns true if descriptor aliasing is natively supported.
299 bool IsDescriptorAliasingSupported() const {
300 return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
301 }
302
298 /// Returns true if the device supports float16 natively. 303 /// Returns true if the device supports float16 natively.
299 bool IsFloat16Supported() const { 304 bool IsFloat16Supported() const {
300 return features.shader_float16_int8.shaderFloat16; 305 return features.shader_float16_int8.shaderFloat16;