[Mesa-dev] [PATCH] anv/device: Enable sample shading on gen7+

Jason Ekstrand jason at jlekstrand.net
Tue Aug 9 05:30:48 UTC 2016


On Aug 8, 2016 4:24 PM, "Anuj Phogat" <anuj.phogat at gmail.com> wrote:
>
> Passes all 30 min_sample_shading tests in vulkan cts.
>
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>  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 c2c5153..b0b48ea 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -375,7 +375,7 @@ void anv_GetPhysicalDeviceFeatures(
>        .independentBlend                         = true,
>        .geometryShader                           = true,
>        .tessellationShader                       = false,
> -      .sampleRateShading                        = pdevice->info->gen >=
8,
> +      .sampleRateShading                        = pdevice->info->gen >=
7,

We don't support Sandy Bridge and probably never will. You can just set it
to true.  With that changed,

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

>        .dualSrcBlend                             = true,
>        .logicOp                                  = true,
>        .multiDrawIndirect                        = false,
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160808/39d2d6b4/attachment.html>


More information about the mesa-dev mailing list