diff options
Diffstat (limited to 'src/gallium/drivers/iris/iris_state.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index e4ecba68254..3e646584045 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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; } |