Skip to content

Commit 3ab1188

Browse files
authored
Fix for D16Unorm Tiled image (shadps4-emu#1863)
1 parent 3c11120 commit 3ab1188

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/video_core/texture_cache/tile_manager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ static vk::Format DemoteImageFormatForDetiling(vk::Format format) {
3232
case vk::Format::eR8G8Unorm:
3333
case vk::Format::eR16Sfloat:
3434
case vk::Format::eR16Unorm:
35+
case vk::Format::eD16Unorm:
3536
return vk::Format::eR8G8Uint;
3637
case vk::Format::eR8G8B8A8Srgb:
3738
case vk::Format::eB8G8R8A8Srgb:

0 commit comments

Comments
 (0)