mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: map R8G8B8X8_SRGB -> R8G8B8A8_SRGB
this fixes a weird texstore bug that seems specific to this format Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15020>
This commit is contained in:
parent
89477baf95
commit
c99bd08921
1 changed files with 2 additions and 0 deletions
|
|
@ -1384,6 +1384,8 @@ emulate_x8(enum pipe_format format)
|
|||
|
||||
case PIPE_FORMAT_B8G8R8X8_SRGB:
|
||||
return PIPE_FORMAT_B8G8R8A8_SRGB;
|
||||
case PIPE_FORMAT_R8G8B8X8_SRGB:
|
||||
return PIPE_FORMAT_R8G8B8A8_SRGB;
|
||||
|
||||
case PIPE_FORMAT_R8G8B8X8_SINT:
|
||||
return PIPE_FORMAT_R8G8B8A8_SINT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue