projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be38f9
)
radv: Disable linear tiled compressed textures.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Mon, 17 Jun 2019 19:46:35 +0000
(21:46 +0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Mon, 17 Jun 2019 23:00:49 +0000
(
01:00
+0200)
Support got removed in the new addrlib update.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_formats.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_formats.c
b/src/amd/vulkan/radv_formats.c
index e61d793e7f2caab48f143cf959957da07fc8dac8..2e0a140d395e79f5d44721d10885711fe1ac7fb0 100644
(file)
--- 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;