From cfc297622fd771bd6405440f69864d6ca4b114a9 Mon Sep 17 00:00:00 2001 From: psucien Date: Thu, 6 Jun 2024 23:49:58 +0200 Subject: [PATCH] texture_cache: fix for forgotten cb tiling info update --- src/video_core/texture_cache/image.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video_core/texture_cache/image.cpp b/src/video_core/texture_cache/image.cpp index e9f96257..9bf3ec0a 100644 --- a/src/video_core/texture_cache/image.cpp +++ b/src/video_core/texture_cache/image.cpp @@ -88,6 +88,7 @@ ImageInfo::ImageInfo(const Libraries::VideoOut::BufferAttributeGroup& group) noe ImageInfo::ImageInfo(const AmdGpu::Liverpool::ColorBuffer& buffer, const AmdGpu::Liverpool::CbDbExtent& hint /*= {}*/) noexcept { is_tiled = buffer.IsTiled(); + tiling_mode = buffer.GetTilingMode(); pixel_format = LiverpoolToVK::SurfaceFormat(buffer.info.format, buffer.NumFormat()); type = vk::ImageType::e2D; size.width = hint.Valid() ? hint.width : buffer.Pitch();