summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorbyte[] <byteslice@airmail.cc>2022-03-14 15:37:51 +0100
committerbyte[] <byteslice@airmail.cc>2022-03-14 16:00:08 +0100
commit364c67e49b8a90ad67fcf492c6b06661a8764e47 (patch)
tree4941374a7672c0ef7e203ef79e0c884338cb7237 /src/video_core/engines/maxwell_3d.cpp
parentMaxwell3D: Use override constants from nouveau (diff)
downloadyuzu-364c67e49b8a90ad67fcf492c6b06661a8764e47.tar
yuzu-364c67e49b8a90ad67fcf492c6b06661a8764e47.tar.gz
yuzu-364c67e49b8a90ad67fcf492c6b06661a8764e47.tar.bz2
yuzu-364c67e49b8a90ad67fcf492c6b06661a8764e47.tar.lz
yuzu-364c67e49b8a90ad67fcf492c6b06661a8764e47.tar.xz
yuzu-364c67e49b8a90ad67fcf492c6b06661a8764e47.tar.zst
yuzu-364c67e49b8a90ad67fcf492c6b06661a8764e47.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index aa88984d4..8f2fd28c2 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -377,6 +377,8 @@ void Maxwell3D::ProcessTopologyOverride() {
switch (regs.topology_override) {
case PrimitiveTopologyOverride::None:
+ topology = regs.draw.topology;
+ break;
case PrimitiveTopologyOverride::Points:
topology = PrimitiveTopology::Points;
break;