From af1ecbeb0a42cd25bd4e9a8deecab5476bd3e595 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 12 Jul 2022 23:07:00 +0300 Subject: [PATCH] anv: add a comment about handling buffer view swizzles on gfx7 Signed-off-by: Lionel Landwerlin Reviewed-by: Nanley Chery Part-of: --- src/intel/vulkan/anv_descriptor_set.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index 3b46bdb9f3e..860290f76cc 100644 --- a/src/intel/vulkan/anv_descriptor_set.c +++ b/src/intel/vulkan/anv_descriptor_set.c @@ -113,6 +113,9 @@ anv_descriptor_data_for_type(const struct anv_physical_device *device, * Do not handle VK_DESCRIPTOR_TYPE_STORAGE_IMAGE and * VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT because they already must * have identity swizzle. + * + * TODO: We need to handle swizzle on buffer views too for those same + * platforms. */ if (device->info.verx10 == 70 && (type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE ||