From: Samuel Pitoiset Date: Thu, 12 Dec 2019 17:22:34 +0000 (+0100) Subject: radv: enable SpvCapabilityImageMSArray X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eda1b77cc202702c1aa2a72c09d4e7f34bb9c281;hp=eac9247b2dfebdb22a3446f588b00ec773b9e3fa;p=mesa.git 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 --- 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,