From 9c1cefff5225c8da01267e3eba95dc316156ef57 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 11 Jul 2018 13:22:02 -0700 Subject: [PATCH] iris: set even if no outputs --- src/gallium/drivers/iris/iris_state.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index b6c90ad49fa..a0e643ea49c 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1753,9 +1753,6 @@ iris_create_so_decl_list(const struct pipe_stream_output_info *info, int max_decls = 0; STATIC_ASSERT(ARRAY_SIZE(so_decl[0]) >= MAX_PROGRAM_OUTPUTS); - if (info->num_outputs == 0) - return NULL; - memset(so_decl, 0, sizeof(so_decl)); /* Construct the list of SO_DECLs to be emitted. The formatting of the -- 2.30.2