diff options
| author | 2020-11-04 12:10:10 -0800 | |
|---|---|---|
| committer | 2020-11-04 12:10:10 -0800 | |
| commit | 087f52e872840df6801762426c492a25fdcd8a03 (patch) | |
| tree | 52fb595630e1f9285328cc36a7e16cf422cd9730 /src/video_core/texture_cache | |
| parent | Merge pull request #4869 from bunnei/improve-gpu-sync (diff) | |
| parent | General: Resolve a few missing initializer warnings (diff) | |
| download | yuzu-087f52e872840df6801762426c492a25fdcd8a03.tar.gz yuzu-087f52e872840df6801762426c492a25fdcd8a03.tar.xz yuzu-087f52e872840df6801762426c492a25fdcd8a03.zip | |
Merge pull request #4858 from lioncash/initializer
General: Resolve a few missing initializer warnings
Diffstat (limited to 'src/video_core/texture_cache')
| -rw-r--r-- | src/video_core/texture_cache/surface_params.cpp | 1 |
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( | |||
| 240 | .is_tiled = is_tiled, | 240 | .is_tiled = is_tiled, |
| 241 | .srgb_conversion = config.format == Tegra::RenderTargetFormat::B8G8R8A8_SRGB || | 241 | .srgb_conversion = config.format == Tegra::RenderTargetFormat::B8G8R8A8_SRGB || |
| 242 | config.format == Tegra::RenderTargetFormat::A8B8G8R8_SRGB, | 242 | config.format == Tegra::RenderTargetFormat::A8B8G8R8_SRGB, |
| 243 | .is_layered = false, | ||
| 243 | .block_width = is_tiled ? std::min(config.BlockWidth(), 5U) : 0U, | 244 | .block_width = is_tiled ? std::min(config.BlockWidth(), 5U) : 0U, |
| 244 | .block_height = is_tiled ? std::min(config.BlockHeight(), 5U) : 0U, | 245 | .block_height = is_tiled ? std::min(config.BlockHeight(), 5U) : 0U, |
| 245 | .block_depth = is_tiled ? std::min(config.BlockDepth(), 5U) : 0U, | 246 | .block_depth = is_tiled ? std::min(config.BlockDepth(), 5U) : 0U, |