diff options
| author | 2023-12-18 22:15:44 -0500 | |
|---|---|---|
| committer | 2023-12-18 22:25:14 -0500 | |
| commit | 94244437de48561cc299c5afc4ee70c9dcd086ce (patch) | |
| tree | 6e8a917e55419a670728e4f76487f1d5b7ecc658 /src/video_core/vulkan_common | |
| parent | Merge pull request #12349 from Kelebek1/return_system_channels_active (diff) | |
| download | yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar.gz yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.tar.xz yuzu-94244437de48561cc299c5afc4ee70c9dcd086ce.zip | |
shader_recompiler: ignore clip distances beyond driver support level
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 4 |
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: | |||
| 665 | return properties.properties.limits.maxViewports; | 665 | return properties.properties.limits.maxViewports; |
| 666 | } | 666 | } |
| 667 | 667 | ||
| 668 | u32 GetMaxUserClipDistances() const { | ||
| 669 | return properties.properties.limits.maxClipDistances; | ||
| 670 | } | ||
| 671 | |||
| 668 | bool SupportsConditionalBarriers() const { | 672 | bool SupportsConditionalBarriers() const { |
| 669 | return supports_conditional_barriers; | 673 | return supports_conditional_barriers; |
| 670 | } | 674 | } |