mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
radv: Allow ETC2 on RAVEN and VEGA10 instead of all GFX9.
Follow radeonsi.
Fixes: 3665f66ef2 "radv: Add support for ETC2 textures."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
bf33ca7512
commit
4bb6c49375
1 changed files with 2 additions and 1 deletions
|
|
@ -612,7 +612,8 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
|
||||||
}
|
}
|
||||||
|
|
||||||
if (desc->layout == VK_FORMAT_LAYOUT_ETC &&
|
if (desc->layout == VK_FORMAT_LAYOUT_ETC &&
|
||||||
physical_device->rad_info.chip_class < GFX9 &&
|
physical_device->rad_info.family != CHIP_VEGA10 &&
|
||||||
|
physical_device->rad_info.family != CHIP_RAVEN &&
|
||||||
physical_device->rad_info.family != CHIP_STONEY) {
|
physical_device->rad_info.family != CHIP_STONEY) {
|
||||||
out_properties->linearTilingFeatures = linear;
|
out_properties->linearTilingFeatures = linear;
|
||||||
out_properties->optimalTilingFeatures = tiled;
|
out_properties->optimalTilingFeatures = tiled;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue