diff options
author | Kenneth Graunke <[email protected]> | 2018-01-30 17:44:26 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:05 -0800 |
commit | 213b70a22209ddfe4aead127e81ed06c51bf223e (patch) | |
tree | c504f7ec9920b22617a8752553013bc0c2c67bf3 /src | |
parent | 1a6bb266cf87b6ea5aad7bda43d22b49bb664630 (diff) |
iris: sample mask...not 0.
We now have a first triangle!
Diffstat (limited to 'src')
-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 ae07c3a0518..5d63c21b0bc 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1999,7 +1999,7 @@ iris_upload_render_state(struct iris_context *ice, if (dirty & IRIS_DIRTY_SAMPLE_MASK) { iris_emit_cmd(batch, GENX(3DSTATE_SAMPLE_MASK), ms) { - ms.SampleMask = ice->state.sample_mask; + ms.SampleMask = MAX2(ice->state.sample_mask, 1); } } |