diff options
| author | bunnei <bunneidev@gmail.com> | 2019-11-19 18:29:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-19 18:29:17 -0500 |
| commit | b0819e2ffb8df3f4ec25186c7f2487790ab557e6 (patch) | |
| tree | 239818f90980fb8ee9a2201111aa81f169a9e6bb /src/video_core/engines/maxwell_3d.cpp | |
| parent | 60993513af8e4436d7630eb3edda03ace4abc935 (diff) | |
| parent | 4681381a3413554b861f44a768fca83e8ea74cff (diff) | |
Merge pull request #3086 from ReinUsesLisp/format-lookups
texture_cache: Use a flat table instead of switch for texture format lookups
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 42ce49a4d..a44c09003 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -742,14 +742,6 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const { Texture::TICEntry tic_entry; memory_manager.ReadBlockUnsafe(tic_address_gpu, &tic_entry, sizeof(Texture::TICEntry)); - [[maybe_unused]] const auto r_type{tic_entry.r_type.Value()}; - [[maybe_unused]] const auto g_type{tic_entry.g_type.Value()}; - [[maybe_unused]] const auto b_type{tic_entry.b_type.Value()}; - [[maybe_unused]] const auto a_type{tic_entry.a_type.Value()}; - - // TODO(Subv): Different data types for separate components are not supported - DEBUG_ASSERT(r_type == g_type && r_type == b_type && r_type == a_type); - return tic_entry; } |
