mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
iris: fix sample mask for MSAA-off
This commit is contained in:
parent
7b8c0f058e
commit
bc1b4db3b3
1 changed files with 1 additions and 1 deletions
|
|
@ -1169,7 +1169,7 @@ iris_set_sample_mask(struct pipe_context *ctx, unsigned sample_mask)
|
|||
{
|
||||
struct iris_context *ice = (struct iris_context *) ctx;
|
||||
|
||||
ice->state.sample_mask = sample_mask;
|
||||
ice->state.sample_mask = sample_mask == 0xffffffff ? 1 : sample_mask;
|
||||
ice->state.dirty |= IRIS_DIRTY_SAMPLE_MASK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue