mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +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
|
@ -27,7 +27,9 @@ void FlushPipeline()
|
|||
|
||||
void SetGenerationMode()
|
||||
{
|
||||
g_renderer->SetGenerationMode();
|
||||
RasterizationState state = {};
|
||||
state.Generate(bpmem, g_vertex_manager->GetCurrentPrimitiveType());
|
||||
g_renderer->SetRasterizationState(state);
|
||||
}
|
||||
|
||||
void SetScissor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue