summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine
diff options
context:
space:
mode:
authorTrevor Davenport <[email protected]>2016-08-09 20:28:07 -0700
committerMarek Olšák <[email protected]>2016-08-10 15:02:20 +0200
commit9a4d5db4d2d6a11cb4760bfe265cc9065616e28e (patch)
treebc7a484ec65cf24a99a21cb1ca6fc41b37d2dc41 /src/gallium/state_trackers/nine
parent0ce5ec8ece78f7936dc7bf0ad58fa1ed01783e25 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r--src/gallium/state_trackers/nine/device9.c1
1 files changed, 1 insertions, 0 deletions
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