From 538ddd220e694f36040eef38e192f81899d40fe5 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Sun, 20 Oct 2019 03:53:05 -0300 Subject: [PATCH] video_core/textures: Remove unused index entry in FullTextureInfo --- src/video_core/engines/maxwell_3d.cpp | 1 - src/video_core/textures/texture.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index e36f4dac5a..7a97efe57c 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 { Texture::FullTextureInfo Maxwell3D::GetTextureInfo(const Texture::TextureHandle tex_handle, std::size_t offset) const { Texture::FullTextureInfo tex_info{}; - tex_info.index = static_cast(offset); // Load the TIC data. 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 e36bc2c04e..0429af9c12 100644 --- a/src/video_core/textures/texture.h +++ b/src/video_core/textures/texture.h @@ -354,7 +354,6 @@ struct TSCEntry { static_assert(sizeof(TSCEntry) == 0x20, "TSCEntry has wrong size"); struct FullTextureInfo { - u32 index; TICEntry tic; TSCEntry tsc; };