Renderer: Move cull mode to a rasterization state object

Also moves logic for primitive handling to VideoCommon.
This commit is contained in:
Stenzek committed 2017-09-11 20:01:45 +10:00
1 parent 2869c570f1
commit 836b9b9acb
38 files changed
+389 -450

No files matched your search

@@ -33,7 +33,7 @@ void ShaderCache<Uid>::Clear()
}
template <typename Uid>
bool ShaderCache<Uid>::SetShader(u32 primitive_type)
bool ShaderCache<Uid>::SetShader(PrimitiveType primitive_type)
{
Uid uid = GetUid(primitive_type, APIType::OpenGL);