mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
dri_util: Update internal_format to GL_RGB8 for MESA_FORMAT_B8G8R8X8_UNORM
Port the change done for RGBX8888 in02a1f95386. If XR24 images are considered to be VIEW_CLASS_24_BITS-compatible, it's reasonable to assume that XB24 images would be as well. Fixes:bf576772ab("dri_util: add driImageFormatToSizedInternalGLFormat function") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6095> (cherry picked from commit8abf59ff98)
This commit is contained in:
parent
7dc972d4b6
commit
6d14d91a80
2 changed files with 2 additions and 2 deletions
|
|
@ -328,7 +328,7 @@
|
|||
"description": "dri_util: Update internal_format to GL_RGB8 for MESA_FORMAT_B8G8R8X8_UNORM",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "bf576772ab4d9e76dae716640bed6de879f19567"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -890,7 +890,7 @@ static const struct {
|
|||
{
|
||||
.image_format = __DRI_IMAGE_FORMAT_XRGB8888,
|
||||
.mesa_format = MESA_FORMAT_B8G8R8X8_UNORM,
|
||||
.internal_format = GL_RGBA8,
|
||||
.internal_format = GL_RGB8,
|
||||
},
|
||||
{
|
||||
.image_format = __DRI_IMAGE_FORMAT_ABGR16161616F,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue