diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-12-10 22:33:49 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-12-11 00:51:46 +0100 |
commit | 7ffb672f6178cc18fe70f3c798a55298ba275be5 (patch) | |
tree | 82e494fd45cf84d676b1e0b3c88e08bc0ce17300 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #3208 from ReinUsesLisp/vk-shader-decompiler (diff) | |
download | yuzu-7ffb672f6178cc18fe70f3c798a55298ba275be5.tar yuzu-7ffb672f6178cc18fe70f3c798a55298ba275be5.tar.gz yuzu-7ffb672f6178cc18fe70f3c798a55298ba275be5.tar.bz2 yuzu-7ffb672f6178cc18fe70f3c798a55298ba275be5.tar.lz yuzu-7ffb672f6178cc18fe70f3c798a55298ba275be5.tar.xz yuzu-7ffb672f6178cc18fe70f3c798a55298ba275be5.tar.zst yuzu-7ffb672f6178cc18fe70f3c798a55298ba275be5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index dcc7cd1fe..dbb4e597f 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -310,6 +310,11 @@ public: } }; + enum class DepthMode : u32 { + MinusOneToOne = 0, + ZeroToOne = 1, + }; + enum class PrimitiveTopology : u32 { Points = 0x0, Lines = 0x1, @@ -491,11 +496,6 @@ public: INSERT_UNION_PADDING_WORDS(1); }; - enum class DepthMode : u32 { - MinusOneToOne = 0, - ZeroToOne = 1, - }; - enum class TessellationPrimitive : u32 { Isolines = 0, Triangles = 1, @@ -676,7 +676,7 @@ public: u32 count; } vertex_buffer; - INSERT_UNION_PADDING_WORDS(1); + DepthMode depth_mode; float clear_color[4]; float clear_depth; @@ -1425,6 +1425,7 @@ ASSERT_REG_POSITION(rt, 0x200); ASSERT_REG_POSITION(viewport_transform, 0x280); ASSERT_REG_POSITION(viewports, 0x300); ASSERT_REG_POSITION(vertex_buffer, 0x35D); +ASSERT_REG_POSITION(depth_mode, 0x35F); ASSERT_REG_POSITION(clear_color[0], 0x360); ASSERT_REG_POSITION(clear_depth, 0x364); ASSERT_REG_POSITION(clear_stencil, 0x368); |