radv: Add ETC2 support on RAVEN2.

I did a whole bunch of validation and it essentially works.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 8531830038)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7282>
This commit is contained in:
Bas Nieuwenhuizen 2020-08-07 00:08:21 +02:00 committed by Dylan Baker
parent 8b6ef5568a
commit fa905a29d0

View file

@ -624,6 +624,7 @@ radv_device_supports_etc(struct radv_physical_device *physical_device)
{
return physical_device->rad_info.family == CHIP_VEGA10 ||
physical_device->rad_info.family == CHIP_RAVEN ||
physical_device->rad_info.family == CHIP_RAVEN2 ||
physical_device->rad_info.family == CHIP_STONEY;
}