General: Resolve a few missing initializer warnings

Resolves a few -Wmissing-initializer warnings.
This commit is contained in:
Lioncash 2020-10-29 01:48:02 -04:00
parent c20569ebdf
commit 5553bd3ba2
5 changed files with 24 additions and 4 deletions

View file

@ -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,