diff options
| author | 2024-02-22 11:30:26 -0600 | |
|---|---|---|
| committer | 2024-02-22 11:30:26 -0600 | |
| commit | 4f95ee52097762fcd53c135fcf07511898c48194 (patch) | |
| tree | 1773373bf6c4b9b2556e7352b5de469bd9859695 /src/video_core/vulkan_common | |
| parent | Merge pull request #13105 from t895/connection-fix (diff) | |
| parent | shader_recompiler: throw on missing geometry streams in geometry shaders (diff) | |
| download | yuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar.gz yuzu-4f95ee52097762fcd53c135fcf07511898c48194.tar.xz yuzu-4f95ee52097762fcd53c135fcf07511898c48194.zip | |
Merge pull request #13075 from liamwhite/mali-having-a-bad-time
shader_recompiler: throw on missing geometry streams in geometry shaders
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 5 |
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: | |||
| 499 | return extensions.transform_feedback; | 499 | return extensions.transform_feedback; |
| 500 | } | 500 | } |
| 501 | 501 | ||
| 502 | /// Returns true if the device supports VK_EXT_transform_feedback properly. | ||
| 503 | bool AreTransformFeedbackGeometryStreamsSupported() const { | ||
| 504 | return features.transform_feedback.geometryStreams; | ||
| 505 | } | ||
| 506 | |||
| 502 | /// Returns true if the device supports VK_EXT_custom_border_color. | 507 | /// Returns true if the device supports VK_EXT_custom_border_color. |
| 503 | bool IsExtCustomBorderColorSupported() const { | 508 | bool IsExtCustomBorderColorSupported() const { |
| 504 | return extensions.custom_border_color; | 509 | return extensions.custom_border_color; |