diff options
author | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-21 04:40:32 +0100 |
---|---|---|
committer | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-24 04:16:33 +0100 |
commit | 54c2a4cafc8fe11f83a61863d4b83ab152004881 (patch) | |
tree | 35328437511b440b825861c5c02c3e5d81f22f55 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #1744 from degasus/shader_cache (diff) | |
download | yuzu-54c2a4cafc8fe11f83a61863d4b83ab152004881.tar yuzu-54c2a4cafc8fe11f83a61863d4b83ab152004881.tar.gz yuzu-54c2a4cafc8fe11f83a61863d4b83ab152004881.tar.bz2 yuzu-54c2a4cafc8fe11f83a61863d4b83ab152004881.tar.lz yuzu-54c2a4cafc8fe11f83a61863d4b83ab152004881.tar.xz yuzu-54c2a4cafc8fe11f83a61863d4b83ab152004881.tar.zst yuzu-54c2a4cafc8fe11f83a61863d4b83ab152004881.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index eff6abd55..4f137e693 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -631,7 +631,16 @@ public: } } zeta; - INSERT_PADDING_WORDS(0x5B); + INSERT_PADDING_WORDS(0x41); + + union { + BitField<0, 4, u32> stencil; + BitField<4, 4, u32> unknown; + BitField<8, 4, u32> scissor; + BitField<12, 4, u32> viewport; + } clear_flags; + + INSERT_PADDING_WORDS(0x19); std::array<VertexAttribute, NumVertexAttributes> vertex_attrib_format; @@ -1134,6 +1143,7 @@ ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D7); ASSERT_REG_POSITION(color_mask_common, 0x3E4); ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB); ASSERT_REG_POSITION(zeta, 0x3F8); +ASSERT_REG_POSITION(clear_flags, 0x43E); ASSERT_REG_POSITION(vertex_attrib_format, 0x458); ASSERT_REG_POSITION(rt_control, 0x487); ASSERT_REG_POSITION(zeta_width, 0x48a); |