mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
pan/format: Disable PAN_BIND_STORAGE_IMAGE for RGBA4/BGRA4
The RGBA4/BGRA4 formats had the PAN_BIND_STORAGE_IMAGE set, but we cannot support that. Fixes:d95423686f("pan/format: Add PAN_BIND_STORAGE_IMAGE flag") Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> (cherry picked from commit15868cf6e9) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38432>
This commit is contained in:
parent
b7ce6abb6a
commit
23665f9bd9
2 changed files with 3 additions and 3 deletions
|
|
@ -1974,7 +1974,7 @@
|
|||
"description": "pan/format: Disable PAN_BIND_STORAGE_IMAGE for RGBA4/BGRA4",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d95423686fda6c8a96702b1535a967132f8887f8",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -458,8 +458,8 @@ const struct pan_format GENX(pan_pipe_format)[PIPE_FORMAT_COUNT] = {
|
|||
FMT(R16G16B16_SSCALED, RGB16I, RGB1, L, V____),
|
||||
FMT(R16G16B16_SNORM, RGB16_SNORM, RGB1, L, V____),
|
||||
FMT(R16G16B16_UINT, RGB16UI, RGB1, L, V____),
|
||||
FMT(R4G4B4A4_UNORM, RGBA4_UNORM, RGBA, L, VTR_I),
|
||||
FMT(B4G4R4A4_UNORM, RGBA4_UNORM, BGRA, L, VTR_I),
|
||||
FMT(R4G4B4A4_UNORM, RGBA4_UNORM, RGBA, L, VTR__),
|
||||
FMT(B4G4R4A4_UNORM, RGBA4_UNORM, BGRA, L, VTR__),
|
||||
FMT(A4R4G4B4_UNORM, RGBA4_UNORM, ARGB, L, VTR__),
|
||||
FMT(A4B4G4R4_UNORM, RGBA4_UNORM, ABGR, L, VTR__),
|
||||
FMT(R16G16B16A16_UNORM, RGBA16_UNORM, RGBA, L, VTR_I),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue