Revert "vk_instance: Always use geometry shaders if available"

This reverts commit 0a976f30c1.
This commit is contained in:
GPUCode
2023-03-29 20:53:01 +03:00
parent ffe6904502
commit c9942b35bb

View File

@ -103,7 +103,13 @@ public:
}
bool UseGeometryShaders() const {
#ifndef __ANDROID__
return features.geometryShader;
#else
// Geometry shaders are extremely expensive on tilers to avoid them at all
// cost even if it hurts accuracy somewhat. TODO: Make this an option
return false;
#endif
}
/// Returns true if anisotropic filtering is supported