summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbyte[] <byteslice@airmail.cc>2022-03-14 16:06:25 +0100
committerbyte[] <byteslice@airmail.cc>2022-03-14 16:06:25 +0100
commitbe0e6a2bb456cc5b3c431d5b9f18573a26f611ec (patch)
treec0b60352993f8a065085d7a9a298d5634fa99684
parentMaxwell3D: restore original topology when topology overrides are disabled (diff)
downloadyuzu-be0e6a2bb456cc5b3c431d5b9f18573a26f611ec.tar
yuzu-be0e6a2bb456cc5b3c431d5b9f18573a26f611ec.tar.gz
yuzu-be0e6a2bb456cc5b3c431d5b9f18573a26f611ec.tar.bz2
yuzu-be0e6a2bb456cc5b3c431d5b9f18573a26f611ec.tar.lz
yuzu-be0e6a2bb456cc5b3c431d5b9f18573a26f611ec.tar.xz
yuzu-be0e6a2bb456cc5b3c431d5b9f18573a26f611ec.tar.zst
yuzu-be0e6a2bb456cc5b3c431d5b9f18573a26f611ec.zip
-rw-r--r--src/video_core/engines/maxwell_3d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 513a9d5df..6d34da046 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -367,6 +367,8 @@ public:
Patches = 0xe,
};
+ // Constants as from NVC0_3D_UNK1970_D3D
+ // https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/gallium/drivers/nouveau/nvc0/nvc0_3d.xml.h#L1598
enum class PrimitiveTopologyOverride : u32 {
None = 0x0,
Points = 0x1,