Mesa (master): radv: Disable linear tiled compressed textures.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 17 23:03:25 UTC 2019
Module: Mesa
Branch: master
Commit: 925c04b4c78fcafc345e3f80b17ef3417451e656
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=925c04b4c78fcafc345e3f80b17ef3417451e656
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Mon Jun 17 21:46:35 2019 +0200
radv: Disable linear tiled compressed textures.
Support got removed in the new addrlib update.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/amd/vulkan/radv_formats.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/amd/vulkan/radv_formats.c b/src/amd/vulkan/radv_formats.c
index e61d793e7f2..2e0a140d395 100644
--- a/src/amd/vulkan/radv_formats.c
+++ b/src/amd/vulkan/radv_formats.c
@@ -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;
More information about the mesa-commit
mailing list