aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/surface_params.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-04 12:10:10 -0800
committerGitHub <noreply@github.com>2020-11-04 12:10:10 -0800
commit97547d70f5efdf679eb9d0d747e9b44ec3bff452 (patch)
tree52fb595630e1f9285328cc36a7e16cf422cd9730 /src/video_core/texture_cache/surface_params.cpp
parentc16acdfb9b3533bcdcb01ed84babf382440ac175 (diff)
parent3e654ff0d0d8284fd52d9e6c7f1baa0a1f6a091d (diff)
Merge pull request #4858 from lioncash/initializer
General: Resolve a few missing initializer warnings
Diffstat (limited to 'src/video_core/texture_cache/surface_params.cpp')
-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 e8515321b9..13dd163563 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,