mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
mesa/st: ETC2 now uses R8G8B8A8_SRGB as fallback
The check for ETC2 compatibility was not updated when the fallback format was changed. Fixes:71867a0a61st/mesa: Fall back to R8G8B8A8_SRGB for ETC2 Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commite94095ec30)
This commit is contained in:
parent
94da454726
commit
0c1832765f
1 changed files with 1 additions and 1 deletions
|
|
@ -1229,7 +1229,7 @@ void st_init_extensions(struct pipe_screen *screen,
|
|||
screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_UNORM,
|
||||
PIPE_TEXTURE_2D, 0, 0,
|
||||
PIPE_BIND_SAMPLER_VIEW) &&
|
||||
screen->is_format_supported(screen, PIPE_FORMAT_B8G8R8A8_SRGB,
|
||||
screen->is_format_supported(screen, PIPE_FORMAT_R8G8B8A8_SRGB,
|
||||
PIPE_TEXTURE_2D, 0, 0,
|
||||
PIPE_BIND_SAMPLER_VIEW) &&
|
||||
screen->is_format_supported(screen, PIPE_FORMAT_R16_UNORM,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue