util/formats: Add PIPE_FORMAT_R8_G8B8_420_UNORM
This is a planar, subsampled format. It's basically NV12, but without colorspace conversion. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6693>
This commit is contained in:
committed by
Marge Bot
parent
3b784370c3
commit
e23bcb69c3
@@ -104,6 +104,7 @@ def has_access(format):
|
||||
'y16_u16_v16_422_unorm',
|
||||
'y16_u16v16_422_unorm',
|
||||
'y16_u16_v16_444_unorm',
|
||||
'r8_g8b8_420_unorm',
|
||||
]
|
||||
if format.short_name() in noaccess_formats:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user