summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-19 04:15:44 +0100
committerLiam <byteslice@airmail.cc>2023-12-19 04:25:14 +0100
commit94244437de48561cc299c5afc4ee70c9dcd086ce (patch)
tree6e8a917e55419a670728e4f76487f1d5b7ecc658 /src/video_core/vulkan_common
parentMerge pull request #12349 from Kelebek1/return_system_channels_active (diff)
downloadyuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar
yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar.gz
yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar.bz2
yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar.lz
yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar.xz
yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar.zst
yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index 4f3846345..701817086 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -665,6 +665,10 @@ public:
return properties.properties.limits.maxViewports;
}
+ u32 GetMaxUserClipDistances() const {
+ return properties.properties.limits.maxClipDistances;
+ }
+
bool SupportsConditionalBarriers() const {
return supports_conditional_barriers;
}