mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Renderer: Move cull mode to a rasterization state object
Also moves logic for primitive handling to VideoCommon.
This commit is contained in:
parent
2869c570f1
commit
836b9b9acb
38 changed files with 389 additions and 450 deletions
|
@ -207,7 +207,7 @@ void GeometryShaderCache::Shutdown()
|
|||
g_gs_disk_cache.Close();
|
||||
}
|
||||
|
||||
bool GeometryShaderCache::SetShader(u32 primitive_type)
|
||||
bool GeometryShaderCache::SetShader(PrimitiveType primitive_type)
|
||||
{
|
||||
GeometryShaderUid uid = GetGeometryShaderUid(primitive_type);
|
||||
if (last_entry && uid == last_uid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue