mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
st/mesa: Add missing sentinels in format_map[]
Cc: mesa-stable
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7169>
(cherry picked from commit cf11ebfbc2)
This commit is contained in:
parent
a4e81dd7a2
commit
c6396afbac
2 changed files with 4 additions and 4 deletions
|
|
@ -211,7 +211,7 @@
|
|||
"description": "st/mesa: Add missing sentinels in format_map[]",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -234,19 +234,19 @@ static const struct format_mapping format_map[] = {
|
|||
DEFAULT_RGB_FORMATS }
|
||||
},
|
||||
{
|
||||
{ GL_RGB4 },
|
||||
{ GL_RGB4, 0 },
|
||||
{ PIPE_FORMAT_B4G4R4X4_UNORM, PIPE_FORMAT_B4G4R4A4_UNORM,
|
||||
PIPE_FORMAT_A4B4G4R4_UNORM,
|
||||
DEFAULT_RGB_FORMATS }
|
||||
},
|
||||
{
|
||||
{ GL_RGB5 },
|
||||
{ GL_RGB5, 0 },
|
||||
{ PIPE_FORMAT_B5G5R5X1_UNORM, PIPE_FORMAT_X1B5G5R5_UNORM,
|
||||
PIPE_FORMAT_B5G5R5A1_UNORM, PIPE_FORMAT_A1B5G5R5_UNORM,
|
||||
DEFAULT_RGB_FORMATS }
|
||||
},
|
||||
{
|
||||
{ GL_RGB565 },
|
||||
{ GL_RGB565, 0 },
|
||||
{ PIPE_FORMAT_B5G6R5_UNORM, DEFAULT_RGB_FORMATS }
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue