diff options
| author | 2020-02-29 04:03:22 -0300 | |
|---|---|---|
| committer | 2020-03-09 18:40:07 -0300 | |
| commit | 66a8a3e88719aaa65a96dd0289e1fb151d199d9b (patch) | |
| tree | 63af86085bf2a0b98023aae5ba3982fa82998f99 /src/video_core/shader/registry.cpp | |
| parent | shader/registry: Store graphics and compute metadata (diff) | |
| download | yuzu-66a8a3e88719aaa65a96dd0289e1fb151d199d9b.tar.gz yuzu-66a8a3e88719aaa65a96dd0289e1fb151d199d9b.tar.xz yuzu-66a8a3e88719aaa65a96dd0289e1fb151d199d9b.zip | |
shader/registry: Cache tessellation state
Diffstat (limited to 'src/video_core/shader/registry.cpp')
| -rw-r--r-- | src/video_core/shader/registry.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/shader/registry.cpp b/src/video_core/shader/registry.cpp index dc2d3dce3..90dfab293 100644 --- a/src/video_core/shader/registry.cpp +++ b/src/video_core/shader/registry.cpp | |||
| @@ -27,6 +27,9 @@ GraphicsInfo MakeGraphicsInfo(ShaderType shader_stage, ConstBufferEngineInterfac | |||
| 27 | 27 | ||
| 28 | GraphicsInfo info; | 28 | GraphicsInfo info; |
| 29 | info.primitive_topology = graphics.regs.draw.topology; | 29 | info.primitive_topology = graphics.regs.draw.topology; |
| 30 | info.tessellation_primitive = graphics.regs.tess_mode.prim; | ||
| 31 | info.tessellation_spacing = graphics.regs.tess_mode.spacing; | ||
| 32 | info.tessellation_clockwise = graphics.regs.tess_mode.cw; | ||
| 30 | return info; | 33 | return info; |
| 31 | } | 34 | } |
| 32 | 35 | ||