From: Kenneth Graunke Date: Wed, 10 Jan 2018 07:17:43 +0000 (-0800) Subject: iris: fix SF_CL length X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7abe5aefd3529653e073cd902ee323b0a324e695;p=mesa.git iris: fix SF_CL length --- 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