mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
etnaviv: check NO_ASTC feature bit
Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
This commit is contained in:
parent
15c5ec0024
commit
9a7a92c1ec
1 changed files with 2 additions and 1 deletions
|
|
@ -752,7 +752,8 @@ etna_get_specs(struct etna_screen *screen)
|
|||
if (screen->specs.single_buffer)
|
||||
DBG("etnaviv: Single buffer mode enabled with %d pixel pipes", screen->specs.pixel_pipes);
|
||||
|
||||
screen->specs.tex_astc = VIV_FEATURE(screen, chipMinorFeatures4, TEXTURE_ASTC);
|
||||
screen->specs.tex_astc = VIV_FEATURE(screen, chipMinorFeatures4, TEXTURE_ASTC) &&
|
||||
!VIV_FEATURE(screen, chipMinorFeatures6, NO_ASTC);
|
||||
|
||||
screen->specs.use_blt = VIV_FEATURE(screen, chipMinorFeatures5, BLT_ENGINE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue