From 2f4924c33b902201d327e5af45ba5a7238be725b Mon Sep 17 00:00:00 2001 From: DH Date: Thu, 27 Jul 2023 03:05:19 +0300 Subject: [PATCH] [amdgpu] avoid use of VK_FORMAT_D24_UNORM_S8_UINT --- hw/amdgpu/device/src/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/amdgpu/device/src/device.cpp b/hw/amdgpu/device/src/device.cpp index 0cc90a1ed..918177dee 100644 --- a/hw/amdgpu/device/src/device.cpp +++ b/hw/amdgpu/device/src/device.cpp @@ -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;