dri: add __DRI_IMAGE_FORMAT_SXRGB8
Add format definition and required plumbing to create images. Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3077>
This commit is contained in:
@@ -950,6 +950,10 @@ static const struct {
|
||||
.image_format = __DRI_IMAGE_FORMAT_SARGB8,
|
||||
.mesa_format = MESA_FORMAT_B8G8R8A8_SRGB,
|
||||
},
|
||||
{
|
||||
.image_format = __DRI_IMAGE_FORMAT_SXRGB8,
|
||||
.mesa_format = MESA_FORMAT_B8G8R8X8_SRGB,
|
||||
},
|
||||
{
|
||||
.image_format = __DRI_IMAGE_FORMAT_R16,
|
||||
.mesa_format = MESA_FORMAT_R_UNORM16,
|
||||
|
Reference in New Issue
Block a user