shader_recompiler: throw on missing geometry streams in geometry shaders
This commit is contained in:
parent
ef89b79d7e
commit
f46dc31683
5 changed files with 16 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Reference in a new issue