summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/registry.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-02 05:54:00 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-09 22:40:53 +0100
commiteb5861e0a22851cd2b2ca38136bfc7870790836e (patch)
tree2af932e6d3d4b7992b342576788fbab62cf94a36 /src/video_core/shader/registry.cpp
parentshader/registry: Address feedback (diff)
downloadyuzu-eb5861e0a22851cd2b2ca38136bfc7870790836e.tar
yuzu-eb5861e0a22851cd2b2ca38136bfc7870790836e.tar.gz
yuzu-eb5861e0a22851cd2b2ca38136bfc7870790836e.tar.bz2
yuzu-eb5861e0a22851cd2b2ca38136bfc7870790836e.tar.lz
yuzu-eb5861e0a22851cd2b2ca38136bfc7870790836e.tar.xz
yuzu-eb5861e0a22851cd2b2ca38136bfc7870790836e.tar.zst
yuzu-eb5861e0a22851cd2b2ca38136bfc7870790836e.zip
Diffstat (limited to 'src/video_core/shader/registry.cpp')
-rw-r--r--src/video_core/shader/registry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/shader/registry.cpp b/src/video_core/shader/registry.cpp
index 4a1e16c1e..af70b3f35 100644
--- a/src/video_core/shader/registry.cpp
+++ b/src/video_core/shader/registry.cpp
@@ -27,9 +27,12 @@ GraphicsInfo MakeGraphicsInfo(ShaderType shader_stage, ConstBufferEngineInterfac
auto& graphics = static_cast<Tegra::Engines::Maxwell3D&>(engine);
GraphicsInfo info;
+ info.tfb_layouts = graphics.regs.tfb_layouts;
+ info.tfb_varying_locs = graphics.regs.tfb_varying_locs;
info.primitive_topology = graphics.regs.draw.topology;
info.tessellation_primitive = graphics.regs.tess_mode.prim;
info.tessellation_spacing = graphics.regs.tess_mode.spacing;
+ info.tfb_enabled = graphics.regs.tfb_enabled;
info.tessellation_clockwise = graphics.regs.tess_mode.cw;
return info;
}