From c3f38c89682b02e13d7cf92b5f8de2b7cc2481a4 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Wed, 12 Apr 2017 23:29:58 +0200 Subject: [PATCH] radv: enable variableMultisampleRate. This is only relevant with 0 attachments. In that case we do nothing on subpass switch already, and the pipeline is the authoritative source of the number of samples, so this shouldn't change anything. Signed-off-by: Bas Nieuwenhuizen Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index b099ec736c0..8f9fbb0dfb5 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -502,7 +502,7 @@ void radv_GetPhysicalDeviceFeatures( .shaderInt64 = false, .shaderInt16 = false, .sparseBinding = true, - .variableMultisampleRate = false, + .variableMultisampleRate = true, .inheritedQueries = false, }; } -- 2.30.2