diff options
| author | Subv <subv2112@gmail.com> | 2018-03-22 15:17:10 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-03-24 11:30:56 -0500 |
| commit | 1b8d798835c2d39c2867f53d8dcacdc7d0ba0d15 (patch) | |
| tree | dc74d1d4ef4ce25613f2b399ad286911d871457e /src/video_core/engines | |
| parent | 71ebc3e90da9882139d2a5695ca1ed59ea77e94f (diff) | |
GPU: Added a method to unswizzle a texture without decoding it.
Allow unswizzling of DXT1 textures.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index ca1b150a7..d1edfe09a 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -196,7 +196,7 @@ void Maxwell3D::DrawArrays() { auto format = tic_entry.format.Value(); - auto texture = Texture::DecodeTexture( + auto texture = Texture::UnswizzleTexture( memory_manager.PhysicalToVirtualAddress(tic_entry.Address()), tic_entry.format.Value(), tic_entry.Width(), tic_entry.Height()); |
