summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-03 02:52:41 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:58 +0200
commitca4bf3844eb317c816f4b316967c7ae6697473d6 (patch)
treeac5ff04295d4babc574a70485ba1b5c4187189c0 /src/video_core/vulkan_common
parentandroid: fix deadzone calculation (diff)
downloadyuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.gz
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.bz2
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.lz
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.xz
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.tar.zst
yuzu-ca4bf3844eb317c816f4b316967c7ae6697473d6.zip
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:
return features.features.textureCompressionASTC_LDR;
}
+ /// Returns true if descriptor aliasing is natively supported.
+ bool IsDescriptorAliasingSupported() const {
+ return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
+ }
+
/// Returns true if the device supports float16 natively.
bool IsFloat16Supported() const {
return features.shader_float16_int8.shaderFloat16;