[Mesa-dev] [PATCH V2 8/9] anv/gen7_pipeline: Set sample mask field in 3DSTATE_PS

Jason Ekstrand jason at jlekstrand.net
Mon Oct 3 21:08:38 UTC 2016


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

On Mon, Oct 3, 2016 at 10:13 AM, Anuj Phogat <anuj.phogat at gmail.com> wrote:

> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>  src/intel/vulkan/gen7_pipeline.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_
> pipeline.c
> index 9411631..bafee28 100644
> --- a/src/intel/vulkan/gen7_pipeline.c
> +++ b/src/intel/vulkan/gen7_pipeline.c
> @@ -243,6 +243,9 @@ genX(graphics_pipeline_create)(
>           /* Haswell requires the sample mask to be set in this packet as
> well as
>            * in 3DSTATE_SAMPLE_MASK; the values should match. */
>           /* _NEW_BUFFERS, _NEW_MULTISAMPLE */
> +#if GEN_IS_HASWELL
> +         ps.SampleMask                    = 0xff;
> +#endif
>        }
>
>        uint32_t samples = pCreateInfo->pMultisampleState ?
> --
> 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/20161003/50159e3e/attachment.html>


More information about the mesa-dev mailing list