mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-29 13:14:14 +01:00
Fix geometry and compute shaders on mali GPUs
This commit is contained in:
parent
cb62e15748
commit
ffdd50bdf3
@ -1 +1 @@
|
|||||||
Subproject commit 8cf4dd997193192c6fc8200095fb251759467b9b
|
Subproject commit 23a83bfdb4cff9c16694b7803a66063f41f306c5
|
@ -163,12 +163,11 @@ namespace skyline::gpu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hasTransformFeedbackExt) {
|
if (hasTransformFeedbackExt) {
|
||||||
bool hasTransformFeedbackFeat{}, hasGeometryStreamsStreamsFeat{};
|
bool hasTransformFeedbackFeat{};
|
||||||
FEAT_SET(vk::PhysicalDeviceTransformFeedbackFeaturesEXT, transformFeedback, hasTransformFeedbackFeat)
|
FEAT_SET(vk::PhysicalDeviceTransformFeedbackFeaturesEXT, transformFeedback, hasTransformFeedbackFeat)
|
||||||
FEAT_SET(vk::PhysicalDeviceTransformFeedbackFeaturesEXT, geometryStreams, hasGeometryStreamsStreamsFeat)
|
|
||||||
|
|
||||||
auto transformFeedbackProperties{deviceProperties2.get<vk::PhysicalDeviceTransformFeedbackPropertiesEXT>()};
|
auto transformFeedbackProperties{deviceProperties2.get<vk::PhysicalDeviceTransformFeedbackPropertiesEXT>()};
|
||||||
if (hasTransformFeedbackFeat && hasGeometryStreamsStreamsFeat && transformFeedbackProperties.transformFeedbackDraw)
|
if (hasTransformFeedbackFeat && transformFeedbackProperties.transformFeedbackDraw)
|
||||||
supportsTransformFeedback = true;
|
supportsTransformFeedback = true;
|
||||||
} else {
|
} else {
|
||||||
enabledFeatures2.unlink<vk::PhysicalDeviceTransformFeedbackFeaturesEXT>();
|
enabledFeatures2.unlink<vk::PhysicalDeviceTransformFeedbackFeaturesEXT>();
|
||||||
@ -262,7 +261,6 @@ namespace skyline::gpu {
|
|||||||
|
|
||||||
case vk::DriverId::eArmProprietary: {
|
case vk::DriverId::eArmProprietary: {
|
||||||
maxGlobalPriority = vk::QueueGlobalPriorityEXT::eHigh;
|
maxGlobalPriority = vk::QueueGlobalPriorityEXT::eHigh;
|
||||||
brokenComputeShaders = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user