summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp1
-rw-r--r--src/video_core/textures/texture.h1
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 {
763Texture::FullTextureInfo Maxwell3D::GetTextureInfo(const Texture::TextureHandle tex_handle, 763Texture::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 {
354static_assert(sizeof(TSCEntry) == 0x20, "TSCEntry has wrong size"); 354static_assert(sizeof(TSCEntry) == 0x20, "TSCEntry has wrong size");
355 355
356struct FullTextureInfo { 356struct FullTextureInfo {
357 u32 index;
358 TICEntry tic; 357 TICEntry tic;
359 TSCEntry tsc; 358 TSCEntry tsc;
360}; 359};