From 9a4d5db4d2d6a11cb4760bfe265cc9065616e28e Mon Sep 17 00:00:00 2001 From: Trevor Davenport Date: Tue, 9 Aug 2016 20:28:07 -0700 Subject: [PATCH] st/nine: Fix invalid attempt to use indirect draws. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Since commit 6d7177f01b231e9fe79a558c28d2b562a218d7ea, radeonsi would take a different path if info->indirect_params was not initialized properly. Nine was not initializating this field. Signed-off-by: Marek Olšák --- src/gallium/state_trackers/nine/device9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index d233304d7f9..3f6577c076b 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/state_trackers/nine/device9.c @@ -2935,6 +2935,7 @@ init_draw_info(struct pipe_draw_info *info, info->restart_index = 0; info->count_from_stream_output = NULL; info->indirect = NULL; + info->indirect_params = NULL; } HRESULT NINE_WINAPI -- 2.30.2