rendervulkan: add NV12 support
This doesn't yet display correct colors, and tiling artifacts are visible.
This commit is contained in:
parent
5f36d1060c
commit
910fba1008
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ struct {
|
|||
{ 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_R8G8B8A8_UNORM, false, true },
|
||||
{ DRM_FORMAT_NV12, VK_FORMAT_G8_B8R8_2PLANE_420_UNORM, false, false },
|
||||
{ DRM_FORMAT_INVALID, VK_FORMAT_UNDEFINED, false, false },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue