Revert "Remove bogus ARGB8888 entry from Vulkan format list"

This reverts commit 202915271e.

We actually need this format for the cursor plane.
This commit is contained in:
Simon Ser 2021-02-24 15:16:51 +01:00
parent 72c629638d
commit 141f2cf374

View file

@ -146,6 +146,7 @@ struct {
} s_DRMVKFormatTable[] = { } s_DRMVKFormatTable[] = {
{ DRM_FORMAT_XRGB8888, VK_FORMAT_A8B8G8R8_UNORM_PACK32, true, false }, { DRM_FORMAT_XRGB8888, VK_FORMAT_A8B8G8R8_UNORM_PACK32, true, false },
{ DRM_FORMAT_ARGB8888, VK_FORMAT_A8B8G8R8_UNORM_PACK32, true, true }, { DRM_FORMAT_ARGB8888, VK_FORMAT_A8B8G8R8_UNORM_PACK32, true, true },
{ DRM_FORMAT_ARGB8888, VK_FORMAT_R8G8B8A8_UNORM, false, true },
{ DRM_FORMAT_INVALID, VK_FORMAT_UNDEFINED, false, false }, { DRM_FORMAT_INVALID, VK_FORMAT_UNDEFINED, false, false },
}; };