From: Marek Olšák Date: Wed, 5 Aug 2020 17:12:06 +0000 (-0400) Subject: radeonsi: enable ETC2 hw acceleration on Raven2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9333a8570d2174b73da63c3ee6f1a740ae487ab8;p=mesa.git radeonsi: enable ETC2 hw acceleration on Raven2 Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- 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: