summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta_copy.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-05-01 04:03:34 +0200
committerBas Nieuwenhuizen <[email protected]>2018-05-14 18:58:12 +0200
commite361970ed73d0f0a11d93a718dbfe2bf4f38b56d (patch)
tree8586209a43b5679cb4d735e0e46eb999a9974faf /src/amd/vulkan/radv_meta_copy.c
parentdd102405dea022f6c27bc42176f50f3bb2761ae6 (diff)
radv: Add support for IMG_DATA_FORMAT_32_32_32.
Basic sampling support for linear tiling. No CTS regressions, but it seems the blitting coverage is not very extensive. https://bugs.freedesktop.org/show_bug.cgi?id=106331 Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_copy.c')
-rw-r--r--src/amd/vulkan/radv_meta_copy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_meta_copy.c b/src/amd/vulkan/radv_meta_copy.c
index 2055289a9bb..1f18886d2c5 100644
--- a/src/amd/vulkan/radv_meta_copy.c
+++ b/src/amd/vulkan/radv_meta_copy.c
@@ -72,6 +72,7 @@ vk_format_for_size(int bs)
case 2: return VK_FORMAT_R8G8_UINT;
case 4: return VK_FORMAT_R8G8B8A8_UINT;
case 8: return VK_FORMAT_R16G16B16A16_UINT;
+ case 12: return VK_FORMAT_R32G32B32_UINT;
case 16: return VK_FORMAT_R32G32B32A32_UINT;
default:
unreachable("Invalid format block size");