mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 08:30:10 +01:00
r600: Add support for EXT_texture_sRGB_R8
Enables on R600 and makes pass: dEQP-GLES31.functional.srgb_texture_decode.skip_decode.sr8.* dEQP-GLES31.functional.texture.filtering.cube_array.formats.sr8* v2: remove chunk for dri/radeon (Emil) Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
421fa01d64
commit
c171d76b94
1 changed files with 1 additions and 0 deletions
|
|
@ -2917,6 +2917,7 @@ uint32_t r600_translate_texformat(struct pipe_screen *screen,
|
|||
switch (desc->nr_channels) {
|
||||
case 1:
|
||||
result = FMT_8;
|
||||
is_srgb_valid = TRUE;
|
||||
goto out_word4;
|
||||
case 2:
|
||||
result = FMT_8_8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue