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 b099ec7..8f9fbb0 100644 (file)
@@ -502,7 +502,7 @@ void radv_GetPhysicalDeviceFeatures(
                .shaderInt64                              = false,
                .shaderInt16                              = false,
                .sparseBinding                            = true,
-               .variableMultisampleRate                  = false,
+               .variableMultisampleRate                  = true,
                .inheritedQueries                         = false,
        };
 }