radv: enable variableMultisampleRate.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 12 Apr 2017 21:29:58 +0000 (23:29 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 13 Apr 2017 13:48:14 +0000 (15:48 +0200)
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 <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index b099ec736c02339ce9f4c79d811c181fb04ca6ed..8f9fbb0dfb53c90a534c40e3c627e484d907e376 100644 (file)
@@ -502,7 +502,7 @@ void radv_GetPhysicalDeviceFeatures(
                .shaderInt64                              = false,
                .shaderInt16                              = false,
                .sparseBinding                            = true,
-               .variableMultisampleRate                  = false,
+               .variableMultisampleRate                  = true,
                .inheritedQueries                         = false,
        };
 }