summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-17 22:29:20 +0100
committerSubv <subv2112@gmail.com>2018-03-18 00:32:56 +0100
commit66dae227908eb733ede0cc728b79d70352467bbc (patch)
treedf69987478e42086956fe036db78e0928a0fba52 /src/video_core
parentGPU: Make the SetShader macro call do the same as the real macro's code. (diff)
downloadyuzu-66dae227908eb733ede0cc728b79d70352467bbc.tar
yuzu-66dae227908eb733ede0cc728b79d70352467bbc.tar.gz
yuzu-66dae227908eb733ede0cc728b79d70352467bbc.tar.bz2
yuzu-66dae227908eb733ede0cc728b79d70352467bbc.tar.lz
yuzu-66dae227908eb733ede0cc728b79d70352467bbc.tar.xz
yuzu-66dae227908eb733ede0cc728b79d70352467bbc.tar.zst
yuzu-66dae227908eb733ede0cc728b79d70352467bbc.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/maxwell_3d.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 6eb98080d..c8920da50 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -148,7 +148,7 @@ public:
u32 cb_data[NumCBData];
} const_buffer;
- INSERT_PADDING_WORDS(0x74);
+ INSERT_PADDING_WORDS(0x10);
struct {
union {
@@ -158,13 +158,7 @@ public:
INSERT_PADDING_WORDS(7);
} cb_bind[MaxShaderType];
- INSERT_PADDING_WORDS(0x494);
-
- struct {
- u32 set_shader_call;
- u32 set_shader_args;
- } set_shader;
- INSERT_PADDING_WORDS(0x10);
+ INSERT_PADDING_WORDS(0x50A);
};
std::array<u32, NUM_REGS> reg_array;
};
@@ -217,7 +211,7 @@ ASSERT_REG_POSITION(vertex_array[0], 0x700);
ASSERT_REG_POSITION(vertex_array_limit[0], 0x7C0);
ASSERT_REG_POSITION(shader_config[0], 0x800);
ASSERT_REG_POSITION(const_buffer, 0x8E0);
-ASSERT_REG_POSITION(set_shader, 0xE24);
+ASSERT_REG_POSITION(cb_bind[0], 0x904);
#undef ASSERT_REG_POSITION