iris: fix SF_CL length
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 10 Jan 2018 07:17:43 +0000 (23:17 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:04 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_state.c

index 842136fc00dcb396dd6fcfdfd556fca6b2548392..0147c1c78ce0069b10661d2ed892d05aeb57961d 100644 (file)
@@ -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