Skip to content

Commit 357b782

Browse files
hot-fix: Silence depth macrotiled warning
1 parent 6acfdd5 commit 357b782

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/video_core/texture_cache/tile_manager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ std::pair<vk::Buffer, u32> TileManager::TryDetile(vk::Buffer in_buffer, u32 in_o
392392
const auto* detiler = GetDetiler(image);
393393
if (!detiler) {
394394
if (image.info.tiling_mode != AmdGpu::TilingMode::Texture_MacroTiled &&
395-
image.info.tiling_mode != AmdGpu::TilingMode::Display_MacroTiled) {
395+
image.info.tiling_mode != AmdGpu::TilingMode::Display_MacroTiled &&
396+
image.info.tiling_mode != AmdGpu::TilingMode::Depth_MacroTiled) {
396397
LOG_ERROR(Render_Vulkan, "Unsupported tiled image: {} ({})",
397398
vk::to_string(image.info.pixel_format), NameOf(image.info.tiling_mode));
398399
}

0 commit comments

Comments
 (0)