summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/fermi_2d.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-15 06:20:00 +0100
committerbunnei <bunneidev@gmail.com>2019-02-07 03:54:21 +0100
commitdd1aab5446cc043fe001f6cd118954a21edc9ad4 (patch)
tree1a27cb416c5a7f480e62be180d6d2d5487ec46d1 /src/video_core/engines/fermi_2d.h
parentMerge pull request #2091 from FearlessTobi/port-4603 (diff)
downloadyuzu-dd1aab5446cc043fe001f6cd118954a21edc9ad4.tar
yuzu-dd1aab5446cc043fe001f6cd118954a21edc9ad4.tar.gz
yuzu-dd1aab5446cc043fe001f6cd118954a21edc9ad4.tar.bz2
yuzu-dd1aab5446cc043fe001f6cd118954a21edc9ad4.tar.lz
yuzu-dd1aab5446cc043fe001f6cd118954a21edc9ad4.tar.xz
yuzu-dd1aab5446cc043fe001f6cd118954a21edc9ad4.tar.zst
yuzu-dd1aab5446cc043fe001f6cd118954a21edc9ad4.zip
Diffstat (limited to 'src/video_core/engines/fermi_2d.h')
-rw-r--r--src/video_core/engines/fermi_2d.h29
1 files changed, 24 insertions, 5 deletions
diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.h
index 50009bf75..c69f74cc5 100644
--- a/src/video_core/engines/fermi_2d.h
+++ b/src/video_core/engines/fermi_2d.h
@@ -94,12 +94,22 @@ public:
Operation operation;
- INSERT_PADDING_WORDS(0x9);
+ INSERT_PADDING_WORDS(0x177);
- // TODO(Subv): This is only a guess.
- u32 trigger;
+ u32 blit_control;
- INSERT_PADDING_WORDS(0x1A3);
+ INSERT_PADDING_WORDS(0x8);
+
+ u32 blit_dst_x;
+ u32 blit_dst_y;
+ u32 blit_dst_width;
+ u32 blit_dst_height;
+ u64 blit_du_dx;
+ u64 blit_dv_dy;
+ u64 blit_src_x;
+ u64 blit_src_y;
+
+ INSERT_PADDING_WORDS(0x21);
};
std::array<u32, NUM_REGS> reg_array;
};
@@ -122,7 +132,16 @@ private:
ASSERT_REG_POSITION(dst, 0x80);
ASSERT_REG_POSITION(src, 0x8C);
ASSERT_REG_POSITION(operation, 0xAB);
-ASSERT_REG_POSITION(trigger, 0xB5);
+ASSERT_REG_POSITION(blit_control, 0x223);
+ASSERT_REG_POSITION(blit_dst_x, 0x22c);
+ASSERT_REG_POSITION(blit_dst_y, 0x22d);
+ASSERT_REG_POSITION(blit_dst_width, 0x22e);
+ASSERT_REG_POSITION(blit_dst_height, 0x22f);
+ASSERT_REG_POSITION(blit_du_dx, 0x230);
+ASSERT_REG_POSITION(blit_dv_dy, 0x232);
+ASSERT_REG_POSITION(blit_src_x, 0x234);
+ASSERT_REG_POSITION(blit_src_y, 0x236);
+
#undef ASSERT_REG_POSITION
} // namespace Tegra::Engines