diff --git a/hw/amdgpu/device/src/device.cpp b/hw/amdgpu/device/src/device.cpp index ec83055ec..3f452e746 100644 --- a/hw/amdgpu/device/src/device.cpp +++ b/hw/amdgpu/device/src/device.cpp @@ -1543,6 +1543,10 @@ static VkFormat surfaceFormatToVkFormat(SurfaceFormat surface, switch (surface) { case kSurfaceFormat8: { switch (channel) { + case kTextureChannelTypeUNorm: + return VK_FORMAT_R8_UNORM; + case kTextureChannelTypeSNorm: + return VK_FORMAT_R8_SNORM; case kTextureChannelTypeUInt: return VK_FORMAT_R8_UINT; case kTextureChannelTypeSInt: