mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
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:
parent
deeb1e95d0
commit
1ffcf95fc4
1 changed files with 3 additions and 0 deletions
|
|
@ -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 ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue