summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/surface_params.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-08 10:02:22 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-06-08 10:02:22 +0200
commitbd43c0547085fcfb585ac3a90521eeb8414fd538 (patch)
treed7a898505ad43a8974b19aebc7b067ee2f46adde /src/video_core/texture_cache/surface_params.cpp
parenttexture_cache: Simplify blit code (diff)
downloadyuzu-bd43c0547085fcfb585ac3a90521eeb8414fd538.tar
yuzu-bd43c0547085fcfb585ac3a90521eeb8414fd538.tar.gz
yuzu-bd43c0547085fcfb585ac3a90521eeb8414fd538.tar.bz2
yuzu-bd43c0547085fcfb585ac3a90521eeb8414fd538.tar.lz
yuzu-bd43c0547085fcfb585ac3a90521eeb8414fd538.tar.xz
yuzu-bd43c0547085fcfb585ac3a90521eeb8414fd538.tar.zst
yuzu-bd43c0547085fcfb585ac3a90521eeb8414fd538.zip
Diffstat (limited to 'src/video_core/texture_cache/surface_params.cpp')
-rw-r--r--src/video_core/texture_cache/surface_params.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cpp
index 6fe7c85ac..0b2b2b8c4 100644
--- a/src/video_core/texture_cache/surface_params.cpp
+++ b/src/video_core/texture_cache/surface_params.cpp
@@ -247,7 +247,7 @@ SurfaceParams SurfaceParams::CreateForFermiCopySurface(
params.height = config.height;
params.pitch = config.pitch;
// TODO(Rodrigo): Try to guess texture arrays from parameters
- params.target = params.block_depth > 0 ? SurfaceTarget::Texture3D : SurfaceTarget::Texture2D;
+ params.target = SurfaceTarget::Texture2D;
params.depth = 1;
params.num_levels = 1;
params.emulated_levels = 1;