Revert "vk_instance: Always use geometry shaders if available"
This reverts commit 0a976f30c1
.
This commit is contained in:
@ -103,7 +103,13 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool UseGeometryShaders() const {
|
bool UseGeometryShaders() const {
|
||||||
|
#ifndef __ANDROID__
|
||||||
return features.geometryShader;
|
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
|
/// Returns true if anisotropic filtering is supported
|
||||||
|
Reference in New Issue
Block a user