Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com> --- src/intel/vulkan/gen7_pipeline.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index 9411631..4bab0bc 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -243,6 +243,10 @@ 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 + ps.SamplerCount = 1; } uint32_t samples = pCreateInfo->pMultisampleState ? -- 2.5.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev