summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2020-08-31 16:22:03 +0200
committercomex <comexk@gmail.com>2020-12-05 23:59:02 +0100
commita6e6cd5788dac6dc26101f4162d7704ca5c274e8 (patch)
treea932592033a49a9b883a971ccd95b0a87d8ca9f4 /src/video_core/engines
parentMerge pull request #5133 from lioncash/video-shadow2 (diff)
downloadyuzu-a6e6cd5788dac6dc26101f4162d7704ca5c274e8.tar
yuzu-a6e6cd5788dac6dc26101f4162d7704ca5c274e8.tar.gz
yuzu-a6e6cd5788dac6dc26101f4162d7704ca5c274e8.tar.bz2
yuzu-a6e6cd5788dac6dc26101f4162d7704ca5c274e8.tar.lz
yuzu-a6e6cd5788dac6dc26101f4162d7704ca5c274e8.tar.xz
yuzu-a6e6cd5788dac6dc26101f4162d7704ca5c274e8.tar.zst
yuzu-a6e6cd5788dac6dc26101f4162d7704ca5c274e8.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_dma.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h
index 17bd280c4..3c59eeb13 100644
--- a/src/video_core/engines/maxwell_dma.h
+++ b/src/video_core/engines/maxwell_dma.h
@@ -72,11 +72,13 @@ public:
struct RenderEnable {
enum class Mode : u32 {
- FALSE = 0,
- TRUE = 1,
- CONDITIONAL = 2,
- RENDER_IF_EQUAL = 3,
- RENDER_IF_NOT_EQUAL = 4,
+ // Note: This uses Pascal case in order to avoid the identifiers
+ // FALSE and TRUE, which are reserved on Darwin.
+ False = 0,
+ True = 1,
+ Conditional = 2,
+ RenderIfEqual = 3,
+ RenderIfNotEqual = 4,
};
PackedGPUVAddr address;