mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 16:27:57 -05:00
shader/registry: Cache tessellation state
This commit is contained in:
@ -27,6 +27,9 @@ GraphicsInfo MakeGraphicsInfo(ShaderType shader_stage, ConstBufferEngineInterfac
|
||||
|
||||
GraphicsInfo info;
|
||||
info.primitive_topology = graphics.regs.draw.topology;
|
||||
info.tessellation_primitive = graphics.regs.tess_mode.prim;
|
||||
info.tessellation_spacing = graphics.regs.tess_mode.spacing;
|
||||
info.tessellation_clockwise = graphics.regs.tess_mode.cw;
|
||||
return info;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user