summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-22 18:30:26 +0100
committerGitHub <noreply@github.com>2024-02-22 18:30:26 +0100
commit4f95ee52097762fcd53c135fcf07511898c48194 (patch)
tree1773373bf6c4b9b2556e7352b5de469bd9859695 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #13105 from t895/connection-fix (diff)
parentshader_recompiler: throw on missing geometry streams in geometry shaders (diff)
downloadyuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar
yuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar.gz
yuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar.bz2
yuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar.lz
yuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar.xz
yuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar.zst
yuzu-4f95ee52097762fcd53c135fcf07511898c48194.zip
Diffstat (limited to '')
-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 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;