projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf33ca7
)
radv: Allow ETC2 on RAVEN and VEGA10 instead of all GFX9.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Sat, 28 Jul 2018 12:01:42 +0000
(14:01 +0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Tue, 14 Aug 2018 20:11:04 +0000
(22:11 +0200)
Follow radeonsi.
Fixes: 3665f66ef26 "radv: Add support for ETC2 textures."
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 f23ebfb2ad761252e373d513e9499437b0530c4d..f0cc0fc5f95111e2d52307c0f5511869227bc819 100644
(file)
--- a/
src/amd/vulkan/radv_formats.c
+++ b/
src/amd/vulkan/radv_formats.c
@@
-612,7
+612,8
@@
radv_physical_device_get_format_properties(struct radv_physical_device *physical
}
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) {
out_properties->linearTilingFeatures = linear;
out_properties->optimalTilingFeatures = tiled;