vk_instance: Always use geometry shaders if available
* Fixes broken lighting in some games
This commit is contained in:
@@ -103,13 +103,7 @@ 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