From: Trevor Davenport Date: Wed, 10 Aug 2016 03:28:07 +0000 (-0700) Subject: st/nine: Fix invalid attempt to use indirect draws. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a4d5db4d2d6a11cb4760bfe265cc9065616e28e;p=mesa.git st/nine: Fix invalid attempt to use indirect draws. 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 --- 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