summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Subv2018-03-22 15:17:10 -0500
committerGravatar Subv2018-03-24 11:30:56 -0500
commit1b8d798835c2d39c2867f53d8dcacdc7d0ba0d15 (patch)
treedc74d1d4ef4ce25613f2b399ad286911d871457e /src/video_core/engines
parentGPU: Preliminary work for texture decoding. (diff)
downloadyuzu-1b8d798835c2d39c2867f53d8dcacdc7d0ba0d15.tar.gz
yuzu-1b8d798835c2d39c2867f53d8dcacdc7d0ba0d15.tar.xz
yuzu-1b8d798835c2d39c2867f53d8dcacdc7d0ba0d15.zip
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.cpp2
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() {
196 196
197 auto format = tic_entry.format.Value(); 197 auto format = tic_entry.format.Value();
198 198
199 auto texture = Texture::DecodeTexture( 199 auto texture = Texture::UnswizzleTexture(
200 memory_manager.PhysicalToVirtualAddress(tic_entry.Address()), 200 memory_manager.PhysicalToVirtualAddress(tic_entry.Address()),
201 tic_entry.format.Value(), tic_entry.Width(), tic_entry.Height()); 201 tic_entry.format.Value(), tic_entry.Width(), tic_entry.Height());
202 202