summaryrefslogtreecommitdiffstats
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-08-17 12:31:19 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-08-25 22:03:18 +0200
commit9679d231df0bc8fac9e0e596ab78750bb38ef248 (patch)
treef80fe9c3396c3c83aacc06c26ddf3643140b20ae /src/video_core/pica.h
parentPica/DebugUtils: Add convenient tev setup printer. (diff)
downloadyuzu-9679d231df0bc8fac9e0e596ab78750bb38ef248.tar
yuzu-9679d231df0bc8fac9e0e596ab78750bb38ef248.tar.gz
yuzu-9679d231df0bc8fac9e0e596ab78750bb38ef248.tar.bz2
yuzu-9679d231df0bc8fac9e0e596ab78750bb38ef248.tar.lz
yuzu-9679d231df0bc8fac9e0e596ab78750bb38ef248.tar.xz
yuzu-9679d231df0bc8fac9e0e596ab78750bb38ef248.tar.zst
yuzu-9679d231df0bc8fac9e0e596ab78750bb38ef248.zip
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 7bd4388b5..cfdc9b934 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -95,7 +95,7 @@ struct Regs {
BitField<16, 16, u32> y;
} viewport_corner;
- INSERT_PADDING_WORDS(0x18);
+ INSERT_PADDING_WORDS(0x17);
struct TextureConfig {
INSERT_PADDING_WORDS(0x1);
@@ -130,6 +130,7 @@ struct Regs {
// Seems like they are luminance formats and compressed textures.
};
+ BitField<0, 1, u32> texturing_enable;
TextureConfig texture0;
INSERT_PADDING_WORDS(0x8);
BitField<0, 4, TextureFormat> texture0_format;
@@ -533,6 +534,7 @@ struct Regs {
ADD_FIELD(viewport_depth_range);
ADD_FIELD(viewport_depth_far_plane);
ADD_FIELD(viewport_corner);
+ ADD_FIELD(texturing_enable);
ADD_FIELD(texture0);
ADD_FIELD(texture0_format);
ADD_FIELD(tev_stage0);
@@ -598,6 +600,7 @@ ASSERT_REG_POSITION(viewport_depth_far_plane, 0x4e);
ASSERT_REG_POSITION(vs_output_attributes[0], 0x50);
ASSERT_REG_POSITION(vs_output_attributes[1], 0x51);
ASSERT_REG_POSITION(viewport_corner, 0x68);
+ASSERT_REG_POSITION(texturing_enable, 0x80);
ASSERT_REG_POSITION(texture0, 0x81);
ASSERT_REG_POSITION(texture0_format, 0x8e);
ASSERT_REG_POSITION(tev_stage0, 0xc0);