Vulkan: Disable geometry shaders for Mali <= 18.

These drivers apparently have some weird behavior.
This commit is contained in:
Unknown W. Brackets committed 2022-10-09 00:57:10 -07:00
1 parent 1c7a5bbb49
commit bc84d6345b
4 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -474,7 +474,7 @@ void GameSettingsScreen::CreateViews() {
}
if (GetGPUBackend() == GPUBackend::VULKAN) {
const bool usable = !draw->GetBugs().Has(Draw::Bugs::GEOMETRY_SHADERS_SLOW);
const bool usable = !draw->GetBugs().Has(Draw::Bugs::GEOMETRY_SHADERS_SLOW_OR_BROKEN);
const bool vertexSupported = draw->GetDeviceCaps().clipDistanceSupported && draw->GetDeviceCaps().cullDistanceSupported;
if (usable && !vertexSupported) {
CheckBox *geometryCulling = graphicsSettings->Add(new CheckBox(&g_Config.bUseGeometryShader, gr->T("Geometry shader culling")));