diff options
| author | 2019-11-19 18:29:17 -0500 | |
|---|---|---|
| committer | 2019-11-19 18:29:17 -0500 | |
| commit | b0819e2ffb8df3f4ec25186c7f2487790ab557e6 (patch) | |
| tree | 239818f90980fb8ee9a2201111aa81f169a9e6bb /src/video_core/engines | |
| parent | Merge pull request #3123 from ReinUsesLisp/logging-return (diff) | |
| parent | format_lookup_table: Address feedback (diff) | |
| download | yuzu-b0819e2ffb8df3f4ec25186c7f2487790ab557e6.tar.gz yuzu-b0819e2ffb8df3f4ec25186c7f2487790ab557e6.tar.xz yuzu-b0819e2ffb8df3f4ec25186c7f2487790ab557e6.zip | |
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')
| -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 { | |||
| 742 | Texture::TICEntry tic_entry; | 742 | Texture::TICEntry tic_entry; |
| 743 | memory_manager.ReadBlockUnsafe(tic_address_gpu, &tic_entry, sizeof(Texture::TICEntry)); | 743 | memory_manager.ReadBlockUnsafe(tic_address_gpu, &tic_entry, sizeof(Texture::TICEntry)); |
| 744 | 744 | ||
| 745 | [[maybe_unused]] const auto r_type{tic_entry.r_type.Value()}; | ||
| 746 | [[maybe_unused]] const auto g_type{tic_entry.g_type.Value()}; | ||
| 747 | [[maybe_unused]] const auto b_type{tic_entry.b_type.Value()}; | ||
| 748 | [[maybe_unused]] const auto a_type{tic_entry.a_type.Value()}; | ||
| 749 | |||
| 750 | // TODO(Subv): Different data types for separate components are not supported | ||
| 751 | DEBUG_ASSERT(r_type == g_type && r_type == b_type && r_type == a_type); | ||
| 752 | |||
| 753 | return tic_entry; | 745 | return tic_entry; |
| 754 | } | 746 | } |
| 755 | 747 | ||