summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-08-31 22:43:19 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-09-04 06:55:45 +0200
commit5f309b88db87e479378ea4695fe69a99fd8e2919 (patch)
tree618d04864352c9cf992b3a74c42793aa7ec966f4 /src/video_core/engines/maxwell_3d.h
parentMerge pull request #2835 from chris062689/master (diff)
downloadyuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar.gz
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar.bz2
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar.lz
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar.xz
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.tar.zst
yuzu-5f309b88db87e479378ea4695fe69a99fd8e2919.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 0184342a0..95d434b40 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1088,7 +1088,9 @@ public:
INSERT_PADDING_WORDS(14);
} shader_config[MaxShaderProgram];
- INSERT_PADDING_WORDS(0x80);
+ INSERT_PADDING_WORDS(0x60);
+
+ u32 firmware[0x20];
struct {
u32 cb_size;
@@ -1317,6 +1319,9 @@ private:
/// Handles writes to the macro bind register.
void ProcessMacroBind(u32 data);
+ /// Handles firmware blob 4
+ void ProcessFirmwareCall4();
+
/// Handles a write to the CLEAR_BUFFERS register.
void ProcessClearBuffers();
@@ -1429,6 +1434,7 @@ ASSERT_REG_POSITION(vertex_array[0], 0x700);
ASSERT_REG_POSITION(independent_blend, 0x780);
ASSERT_REG_POSITION(vertex_array_limit[0], 0x7C0);
ASSERT_REG_POSITION(shader_config[0], 0x800);
+ASSERT_REG_POSITION(firmware, 0x8C0);
ASSERT_REG_POSITION(const_buffer, 0x8E0);
ASSERT_REG_POSITION(cb_bind[0], 0x904);
ASSERT_REG_POSITION(tex_cb_index, 0x982);