diff options
| author | 2019-10-20 03:53:05 -0300 | |
|---|---|---|
| committer | 2019-10-28 00:14:38 -0300 | |
| commit | 538ddd220e694f36040eef38e192f81899d40fe5 (patch) | |
| tree | 6527126f244d2f63fb6aef511e1dd303dedde669 /src | |
| parent | maxwell_3d: Remove unused method GetStageTextures (diff) | |
| download | yuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar.gz yuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar.xz yuzu-538ddd220e694f36040eef38e192f81899d40fe5.zip | |
video_core/textures: Remove unused index entry in FullTextureInfo
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 1 | ||||
| -rw-r--r-- | src/video_core/textures/texture.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index e36f4dac5..7a97efe57 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp | |||
| @@ -763,7 +763,6 @@ Texture::TSCEntry Maxwell3D::GetTSCEntry(u32 tsc_index) const { | |||
| 763 | Texture::FullTextureInfo Maxwell3D::GetTextureInfo(const Texture::TextureHandle tex_handle, | 763 | Texture::FullTextureInfo Maxwell3D::GetTextureInfo(const Texture::TextureHandle tex_handle, |
| 764 | std::size_t offset) const { | 764 | std::size_t offset) const { |
| 765 | Texture::FullTextureInfo tex_info{}; | 765 | Texture::FullTextureInfo tex_info{}; |
| 766 | tex_info.index = static_cast<u32>(offset); | ||
| 767 | 766 | ||
| 768 | // Load the TIC data. | 767 | // Load the TIC data. |
| 769 | auto tic_entry = GetTICEntry(tex_handle.tic_id); | 768 | auto tic_entry = GetTICEntry(tex_handle.tic_id); |
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h index e36bc2c04..0429af9c1 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h | |||
| @@ -354,7 +354,6 @@ struct TSCEntry { | |||
| 354 | static_assert(sizeof(TSCEntry) == 0x20, "TSCEntry has wrong size"); | 354 | static_assert(sizeof(TSCEntry) == 0x20, "TSCEntry has wrong size"); |
| 355 | 355 | ||
| 356 | struct FullTextureInfo { | 356 | struct FullTextureInfo { |
| 357 | u32 index; | ||
| 358 | TICEntry tic; | 357 | TICEntry tic; |
| 359 | TSCEntry tsc; | 358 | TSCEntry tsc; |
| 360 | }; | 359 | }; |