From eda1b77cc202702c1aa2a72c09d4e7f34bb9c281 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 12 Dec 2019 18:22:34 +0100 Subject: [PATCH] radv: enable SpvCapabilityImageMSArray The Vulkan spec says that StorageImageMultisample and ImageMSArray SPIRV-V capabilities must be enabled if the shaderStorageImageMultisample feature is supported. This fixes a warning with RenderDoc. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2212 Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 6466bad5cae..dd3494b9e3e 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -375,6 +375,7 @@ radv_shader_compile_to_nir(struct radv_device *device, .float16 = !device->physical_device->use_aco, .float64 = true, .geometry_streams = true, + .image_ms_array = true, .image_read_without_format = true, .image_write_without_format = true, .int8 = !device->physical_device->use_aco, -- 2.30.2