summaryrefslogtreecommitdiff
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-09 11:19:23 -0400
committerbunnei <bunneidev@gmail.com>2016-04-09 11:19:23 -0400
commit069e040500302afff0f4dcadd0657f6afec1c193 (patch)
treeb8dd1b101291b1cddf4dde90201a6aadf7b0ff25 /src/video_core/pica.h
parenta4c5d8fd50e32545494a4ac158892310dfe98489 (diff)
parent35a92b40977f9d2ad4f37c0d93c6cd9bbc57d591 (diff)
Merge pull request #1624 from JayFoxRox/buffer-allow-write
Implement buffer-write allow registers
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h12
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;