summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-12-20 18:45:20 +0100
committerGitHub <noreply@github.com>2023-12-20 18:45:20 +0100
commit9e5b4052edddba9655be7293fe147619ccc86436 (patch)
tree26454a8e0b4e00e6c5a087ca23dac2674f486e49 /src/video_core/vulkan_common
parentMerge pull request #12390 from liamwhite/binding-insanity (diff)
parentshader_recompiler: use minimal clip distance array (diff)
downloadyuzu-9e5b4052edddba9655be7293fe147619ccc86436.tar
yuzu-9e5b4052edddba9655be7293fe147619ccc86436.tar.gz
yuzu-9e5b4052edddba9655be7293fe147619ccc86436.tar.bz2
yuzu-9e5b4052edddba9655be7293fe147619ccc86436.tar.lz
yuzu-9e5b4052edddba9655be7293fe147619ccc86436.tar.xz
yuzu-9e5b4052edddba9655be7293fe147619ccc86436.tar.zst
yuzu-9e5b4052edddba9655be7293fe147619ccc86436.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;
}