summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-10-20 08:53:05 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-10-28 04:14:38 +0100
commit538ddd220e694f36040eef38e192f81899d40fe5 (patch)
tree6527126f244d2f63fb6aef511e1dd303dedde669 /src
parentmaxwell_3d: Remove unused method GetStageTextures (diff)
downloadyuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar
yuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar.gz
yuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar.bz2
yuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar.lz
yuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar.xz
yuzu-538ddd220e694f36040eef38e192f81899d40fe5.tar.zst
yuzu-538ddd220e694f36040eef38e192f81899d40fe5.zip
Diffstat (limited to 'src')
-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 {
Texture::FullTextureInfo Maxwell3D::GetTextureInfo(const Texture::TextureHandle tex_handle,
std::size_t offset) const {
Texture::FullTextureInfo tex_info{};
- tex_info.index = static_cast<u32>(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 e36bc2c04..0429af9c1 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;
};