dri: fix incorrect fourcc for R16G16B16A16_UNORM format
The DRM fourcc for this format is DRM_FORMAT_ABGR16161616 = 'AB48', not __DRI_IMAGE_FOURCC_RGBA16161616 = 'RA48'. This should have no outward effect for clients, since the format does not get revealed by dri2_query_dma_buf_formats, and is otherwise only used within the library. Signed-off-by: Manuel Stoeckl <code@mstoeckl.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14580>
This commit is contained in:

committed by
Marge Bot

parent
d8eff20b9b
commit
7e554e11a1
@@ -1242,7 +1242,6 @@ struct __DRIdri2ExtensionRec {
|
||||
#define __DRI_IMAGE_FOURCC_SARGB8888 0x83324258
|
||||
#define __DRI_IMAGE_FOURCC_SABGR8888 0x84324258
|
||||
#define __DRI_IMAGE_FOURCC_SXRGB8888 0x85324258
|
||||
#define __DRI_IMAGE_FOURCC_RGBA16161616 0x38344152 /* fourcc_code('R', 'A', '4', '8' ) */
|
||||
|
||||
/**
|
||||
* Queryable on images created by createImageFromNames.
|
||||
|
Reference in New Issue
Block a user