From 9333a8570d2174b73da63c3ee6f1a740ae487ab8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 5 Aug 2020 13:12:06 -0400 Subject: [PATCH] radeonsi: enable ETC2 hw acceleration on Raven2 Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- 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 4ebcf5088a6..30f46c66258 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1651,7 +1651,7 @@ static uint32_t si_translate_texformat(struct pipe_screen *screen, enum pipe_for if (desc->layout == UTIL_FORMAT_LAYOUT_ETC && (sscreen->info.family == CHIP_STONEY || sscreen->info.family == CHIP_VEGA10 || - sscreen->info.family == CHIP_RAVEN)) { + sscreen->info.family == CHIP_RAVEN || sscreen->info.family == CHIP_RAVEN2)) { switch (format) { case PIPE_FORMAT_ETC1_RGB8: case PIPE_FORMAT_ETC2_RGB8: -- 2.30.2