diff options
author | Subv <subv2112@gmail.com> | 2018-03-19 01:03:20 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-03-19 01:03:40 +0100 |
commit | 03156d0c9a7b3c3f922784845c832ea8299b3c50 (patch) | |
tree | 5545b96de601215931683edc9f24e841b4b99528 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #248 from Subv/cb_data (diff) | |
download | yuzu-03156d0c9a7b3c3f922784845c832ea8299b3c50.tar yuzu-03156d0c9a7b3c3f922784845c832ea8299b3c50.tar.gz yuzu-03156d0c9a7b3c3f922784845c832ea8299b3c50.tar.bz2 yuzu-03156d0c9a7b3c3f922784845c832ea8299b3c50.tar.lz yuzu-03156d0c9a7b3c3f922784845c832ea8299b3c50.tar.xz yuzu-03156d0c9a7b3c3f922784845c832ea8299b3c50.tar.zst yuzu-03156d0c9a7b3c3f922784845c832ea8299b3c50.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 3e97d9045..5d9b0043b 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -178,7 +178,14 @@ public: } } ssbo_info; - INSERT_PADDING_WORDS(0x11D); + INSERT_PADDING_WORDS(0x11); + + struct { + u32 address[MaxShaderStage]; + u32 size[MaxShaderStage]; + } tex_info_buffers; + + INSERT_PADDING_WORDS(0x102); }; std::array<u32, NUM_REGS> reg_array; }; @@ -240,6 +247,7 @@ private: void DrawArrays(); /// Method call handlers + void BindTextureInfoBuffer(const std::vector<u32>& parameters); void SetShader(const std::vector<u32>& parameters); void BindStorageBuffer(const std::vector<u32>& parameters); @@ -266,6 +274,8 @@ ASSERT_REG_POSITION(const_buffer, 0x8E0); ASSERT_REG_POSITION(cb_bind[0], 0x904); ASSERT_REG_POSITION(tex_cb_index, 0x982); ASSERT_REG_POSITION(ssbo_info, 0xD18); +ASSERT_REG_POSITION(tex_info_buffers.address[0], 0xD2A); +ASSERT_REG_POSITION(tex_info_buffers.size[0], 0xD2F); #undef ASSERT_REG_POSITION |