Vulkan: Disable geometry shaders for Mali <= 18.
These drivers apparently have some weird behavior.
This commit is contained in:
parent
1c7a5bbb49
commit
bc84d6345b
4 changed files with 6 additions and 5 deletions
|
@ -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")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue