From 7abe5aefd3529653e073cd902ee323b0a324e695 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 9 Jan 2018 23:17:43 -0800 Subject: [PATCH] iris: fix SF_CL length --- 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 842136fc00d..0147c1c78ce 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -860,7 +860,7 @@ iris_set_stencil_ref(struct pipe_context *ctx, struct iris_viewport_state { - uint32_t sf_cl_vp[GENX(3DSTATE_SF_length)]; + uint32_t sf_cl_vp[GENX(SF_CLIP_VIEWPORT_length)]; }; static float -- 2.30.2