From: Kenneth Graunke Date: Wed, 11 Jul 2018 23:26:06 +0000 (-0700) Subject: iris: fix SO_DECL_LIST X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5635abadef34c9a37060f8832bd76ea219e03ef0;p=mesa.git iris: fix SO_DECL_LIST --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index b170d027324..089458d2b70 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1845,7 +1845,7 @@ iris_create_so_decl_list(const struct pipe_stream_output_info *info, } for (int i = 0; i < max_decls; i++) { - iris_pack_state(GENX(SO_DECL_ENTRY), so_decl_map + 2 + i * 2, entry) { + iris_pack_state(GENX(SO_DECL_ENTRY), so_decl_map + 3 + i * 2, entry) { entry.Stream0Decl = so_decl[0][i]; entry.Stream1Decl = so_decl[1][i]; entry.Stream2Decl = so_decl[2][i];