Fix geometry and compute shaders on mali GPUs

This commit is contained in:
Billy Laws 2023-02-09 22:34:35 +00:00
parent cb62e15748
commit ffdd50bdf3
2 changed files with 3 additions and 5 deletions

@ -1 +1 @@
Subproject commit 8cf4dd997193192c6fc8200095fb251759467b9b
Subproject commit 23a83bfdb4cff9c16694b7803a66063f41f306c5

View File

@ -163,12 +163,11 @@ namespace skyline::gpu {
}
if (hasTransformFeedbackExt) {
bool hasTransformFeedbackFeat{}, hasGeometryStreamsStreamsFeat{};
bool hasTransformFeedbackFeat{};
FEAT_SET(vk::PhysicalDeviceTransformFeedbackFeaturesEXT, transformFeedback, hasTransformFeedbackFeat)
FEAT_SET(vk::PhysicalDeviceTransformFeedbackFeaturesEXT, geometryStreams, hasGeometryStreamsStreamsFeat)
auto transformFeedbackProperties{deviceProperties2.get<vk::PhysicalDeviceTransformFeedbackPropertiesEXT>()};
if (hasTransformFeedbackFeat && hasGeometryStreamsStreamsFeat && transformFeedbackProperties.transformFeedbackDraw)
if (hasTransformFeedbackFeat && transformFeedbackProperties.transformFeedbackDraw)
supportsTransformFeedback = true;
} else {
enabledFeatures2.unlink<vk::PhysicalDeviceTransformFeedbackFeaturesEXT>();
@ -262,7 +261,6 @@ namespace skyline::gpu {
case vk::DriverId::eArmProprietary: {
maxGlobalPriority = vk::QueueGlobalPriorityEXT::eHigh;
brokenComputeShaders = true;
break;
}