[amdgpu] avoid use of VK_FORMAT_D24_UNORM_S8_UINT

This commit is contained in:
DH 2023-07-27 03:05:19 +03:00
parent 450fd30889
commit 2f4924c33b

View file

@ -1693,7 +1693,7 @@ static VkFormat surfaceFormatToVkFormat(SurfaceFormat surface,
case kSurfaceFormat24_8:
switch (channel) {
case kTextureChannelTypeUNorm:
return VK_FORMAT_D24_UNORM_S8_UINT;
return VK_FORMAT_D32_SFLOAT_S8_UINT; // HACK for amdgpu
default:
break;