[Mesa-dev] [PATCH v3 4/4] r600: Add support for EXT_texture_sRGB_R8

Roland Scheidegger sroland at vmware.com
Tue Nov 6 17:29:39 UTC 2018


Reviewed-by: Roland Scheidegger <sroland at vmware.com>

Am 06.11.18 um 12:04 schrieb Gert Wollny:
> Hi Dave & Roland, 
> 
> Can I persuade you to take a look at this one-liner? 
> 
> Many thanks, 
> Gert 
> 
> Am Donnerstag, den 01.11.2018, 12:59 +0100 schrieb Gert Wollny:
>> From: Gert Wollny <gert.wollny at collabora.com>
>>
>> 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 at collabora.com>
>> ---
>>  src/gallium/drivers/r600/r600_state_common.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/src/gallium/drivers/r600/r600_state_common.c
>> b/src/gallium/drivers/r600/r600_state_common.c
>> index e6c1b0be97..2d36541787 100644
>> --- a/src/gallium/drivers/r600/r600_state_common.c
>> +++ b/src/gallium/drivers/r600/r600_state_common.c
>> @@ -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;



More information about the mesa-dev mailing list