mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 17:40:11 +01:00
radeonsi/gfx9: enable ETC2
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
6d21fd51b6
commit
d214b95e9a
1 changed files with 2 additions and 1 deletions
|
|
@ -1425,7 +1425,8 @@ static uint32_t si_translate_texformat(struct pipe_screen *screen,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (desc->layout == UTIL_FORMAT_LAYOUT_ETC &&
|
if (desc->layout == UTIL_FORMAT_LAYOUT_ETC &&
|
||||||
sscreen->b.family == CHIP_STONEY) {
|
(sscreen->b.family == CHIP_STONEY ||
|
||||||
|
sscreen->b.chip_class >= GFX9)) {
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case PIPE_FORMAT_ETC1_RGB8:
|
case PIPE_FORMAT_ETC1_RGB8:
|
||||||
case PIPE_FORMAT_ETC2_RGB8:
|
case PIPE_FORMAT_ETC2_RGB8:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue