[Mesa-dev] [PATCH] anv: Advertise variableMultisampleRate

Anuj Phogat anuj.phogat at gmail.com
Wed May 2 17:51:36 UTC 2018


On Mon, Apr 30, 2018 at 3:10 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
>
> 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.
> ---
>  src/intel/vulkan/anv_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index 202fe73..adcd506 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -761,7 +761,7 @@ void anv_GetPhysicalDeviceFeatures(
>        .shaderInt64                              = pdevice->info.gen >= 8,
>        .shaderInt16                              = false,
>        .shaderResourceMinLod                     = false,
> -      .variableMultisampleRate                  = false,
> +      .variableMultisampleRate                  = true,
>        .inheritedQueries                         = true,
>     };
>
> --
> 2.5.0.400.gff86faf
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list