From 213b70a22209ddfe4aead127e81ed06c51bf223e Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 30 Jan 2018 17:44:26 -0800 Subject: [PATCH] iris: sample mask...not 0. We now have a first triangle! --- src/gallium/drivers/iris/iris_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.30.2