[Mesa-dev] [PATCH] radeonsi: don't expose ETC2 on Polaris

Nicolai Hähnle nhaehnle at gmail.com
Wed Apr 13 15:12:21 UTC 2016


Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

On 13.04.2016 09:34, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> not supported
> ---
>   src/gallium/drivers/radeonsi/si_state.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
> index 82ae4c4..af9ffdd 100644
> --- a/src/gallium/drivers/radeonsi/si_state.c
> +++ b/src/gallium/drivers/radeonsi/si_state.c
> @@ -1487,7 +1487,7 @@ static uint32_t si_translate_texformat(struct pipe_screen *screen,
>   	}
>
>   	if (desc->layout == UTIL_FORMAT_LAYOUT_ETC &&
> -	    sscreen->b.family >= CHIP_STONEY) {
> +	    sscreen->b.family == CHIP_STONEY) {
>   		switch (format) {
>   		case PIPE_FORMAT_ETC1_RGB8:
>   		case PIPE_FORMAT_ETC2_RGB8:
>


More information about the mesa-dev mailing list