anv/gen7_pipeline: Set sample mask field in 3DSTATE_PS

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Anuj Phogat 2016-09-26 11:40:00 -07:00
parent deeb1e95d0
commit 1ffcf95fc4

View file

@ -237,6 +237,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 ?