mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 22:20:09 +01:00
radv: Disable linear tiled compressed textures.
Support got removed in the new addrlib update. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
1be38f9178
commit
925c04b4c7
1 changed files with 4 additions and 0 deletions
|
|
@ -774,6 +774,10 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
|
|||
break;
|
||||
}
|
||||
|
||||
/* addrlib does not support linear compressed textures. */
|
||||
if (vk_format_is_compressed(format))
|
||||
linear = 0;
|
||||
|
||||
out_properties->linearTilingFeatures = linear;
|
||||
out_properties->optimalTilingFeatures = tiled;
|
||||
out_properties->bufferFeatures = buffer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue