From: Kenneth Graunke Date: Wed, 31 Jan 2018 01:44:26 +0000 (-0800) Subject: iris: sample mask...not 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=213b70a22209ddfe4aead127e81ed06c51bf223e;p=mesa.git iris: sample mask...not 0. We now have a first triangle! --- 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); } }