anv: Advertise variableMultisampleRate
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 8 Feb 2018 17:03:03 +0000 (09:03 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 May 2018 17:59:03 +0000 (10:59 -0700)
Initially, I didn't understand this feature.  Turns out that all it
means is that you can switch multisample rates in the middle of a
zero-attachment subpass.  We've been able to do this since forever.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/vulkan/anv_device.c

index 856035b8b9143c15690817ea98349606f481f8f5..0563eae5c18f31956033cbc451d6bdda59ca94f4 100644 (file)
@@ -761,7 +761,7 @@ void anv_GetPhysicalDeviceFeatures(
                                                   pdevice->info.has_64bit_types,
       .shaderInt16                              = false,
       .shaderResourceMinLod                     = false,
-      .variableMultisampleRate                  = false,
+      .variableMultisampleRate                  = true,
       .inheritedQueries                         = true,
    };