diff options
author | Jannik Vogel <email@jannikvogel.de> | 2016-04-01 15:44:42 +0200 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2016-04-08 22:35:22 +0200 |
commit | fa24df73404b1db5e2cff855c2ec88300972be5c (patch) | |
tree | 28bddb26d39008cacc01b9517e4f41267133df27 /src/video_core/pica.h | |
parent | OpenGL: Keep stencil-test and framebuffer.depth_format in sync (diff) | |
download | yuzu-fa24df73404b1db5e2cff855c2ec88300972be5c.tar yuzu-fa24df73404b1db5e2cff855c2ec88300972be5c.tar.gz yuzu-fa24df73404b1db5e2cff855c2ec88300972be5c.tar.bz2 yuzu-fa24df73404b1db5e2cff855c2ec88300972be5c.tar.lz yuzu-fa24df73404b1db5e2cff855c2ec88300972be5c.tar.xz yuzu-fa24df73404b1db5e2cff855c2ec88300972be5c.tar.zst yuzu-fa24df73404b1db5e2cff855c2ec88300972be5c.zip |
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r-- | src/video_core/pica.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 16f9e4006..4552ff81c 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -578,7 +578,17 @@ struct Regs { } struct { - INSERT_PADDING_WORDS(0x6); + INSERT_PADDING_WORDS(0x3); + + union { + BitField<0, 4, u32> allow_color_write; // 0 = disable, else enable + }; + + INSERT_PADDING_WORDS(0x1); + + union { + BitField<0, 2, u32> allow_depth_stencil_write; // 0 = disable, else enable + }; DepthFormat depth_format; // TODO: Should be a BitField! BitField<16, 3, ColorFormat> color_format; |