diff options
author | Liam <byteslice@airmail.cc> | 2024-02-19 06:34:00 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-19 06:34:00 +0100 |
commit | f46dc31683737fabbb9b89ba85ca74242cdc405f (patch) | |
tree | 828305f28a073f8a190d9828c1935758d1f788d0 /src/video_core | |
parent | Merge pull request #13070 from liamwhite/offset (diff) | |
download | yuzu-f46dc31683737fabbb9b89ba85ca74242cdc405f.tar yuzu-f46dc31683737fabbb9b89ba85ca74242cdc405f.tar.gz yuzu-f46dc31683737fabbb9b89ba85ca74242cdc405f.tar.bz2 yuzu-f46dc31683737fabbb9b89ba85ca74242cdc405f.tar.lz yuzu-f46dc31683737fabbb9b89ba85ca74242cdc405f.tar.xz yuzu-f46dc31683737fabbb9b89ba85ca74242cdc405f.tar.zst yuzu-f46dc31683737fabbb9b89ba85ca74242cdc405f.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 1 | ||||
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 20f7a9702..d34b585d6 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -352,6 +352,7 @@ PipelineCache::PipelineCache(Tegra::MaxwellDeviceMemoryManager& device_memory_, .support_native_ndc = device.IsExtDepthClipControlSupported(), .support_scaled_attributes = !device.MustEmulateScaledFormats(), .support_multi_viewport = device.SupportsMultiViewport(), + .support_geometry_streams = device.AreTransformFeedbackGeometryStreamsSupported(), .warp_size_potentially_larger_than_guest = device.IsWarpSizePotentiallyBiggerThanGuest(), diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index a2ec26697..e3abe8ddf 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -499,6 +499,11 @@ public: return extensions.transform_feedback; } + /// Returns true if the device supports VK_EXT_transform_feedback properly. + bool AreTransformFeedbackGeometryStreamsSupported() const { + return features.transform_feedback.geometryStreams; + } + /// Returns true if the device supports VK_EXT_custom_border_color. bool IsExtCustomBorderColorSupported() const { return extensions.custom_border_color; |