summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-29 06:48:02 +0100
committerLioncash <mathew1800@gmail.com>2020-10-30 00:37:07 +0100
commit5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b (patch)
tree834ac6a85c76f3865b02c5637569b1f5541c1660 /src/video_core/texture_cache
parentMerge pull request #4856 from bunnei/webservice-socket-error (diff)
downloadyuzu-5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b.tar
yuzu-5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b.tar.gz
yuzu-5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b.tar.bz2
yuzu-5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b.tar.lz
yuzu-5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b.tar.xz
yuzu-5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b.tar.zst
yuzu-5553bd3ba22f11f4b989d74ac0e3d46f0e7fb22b.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/surface_params.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cpp
index e8515321b..13dd16356 100644
--- a/src/video_core/texture_cache/surface_params.cpp
+++ b/src/video_core/texture_cache/surface_params.cpp
@@ -240,6 +240,7 @@ SurfaceParams SurfaceParams::CreateForFermiCopySurface(
.is_tiled = is_tiled,
.srgb_conversion = config.format == Tegra::RenderTargetFormat::B8G8R8A8_SRGB ||
config.format == Tegra::RenderTargetFormat::A8B8G8R8_SRGB,
+ .is_layered = false,
.block_width = is_tiled ? std::min(config.BlockWidth(), 5U) : 0U,
.block_height = is_tiled ? std::min(config.BlockHeight(), 5U) : 0U,
.block_depth = is_tiled ? std::min(config.BlockDepth(), 5U) : 0U,