radeonsi: add has_draw_indirect_multi flag
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 29 Jul 2016 16:59:11 +0000 (17:59 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 8 Aug 2016 10:53:06 +0000 (12:53 +0200)
commit96bbb620a5952828cabe27ef7eb3adaa3f2226f4
treeb1ad4bda2ecb580e27a28798f806c0b74543250b
parent5c343cce0f33e534481317ea99cf8192960d5e9f
radeonsi: add has_draw_indirect_multi flag

Prefer to use DRAW_(INDEX)_INDIRECT_MULTI when available in the firmware.

Versions for SI and CI already added as provided by the firmware team, but
keep in mind that they won't currently be used since the radeon kernel module
has no interface to query the firmware version.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c