iris: Implement ARB_indirect_parameters
iris_draw_vbo
is divided into two functions to remove unnecessary
operations from the loop. This implementation of ARB_indirect_parameters
takes into account NV_conditional_render
by saving MI_PREDICATE_RESULT
at the start of a draw call and restoring it at the end also the result
of NV_conditional_render
is taken into account when computing predicates
that limit draw calls for ARB_indirect_parameters
in a similar way
to 1952fd8d in ANV.
Signed-off-by: Illia Iorin illia.iorin@globallogic.com
CC: @kwg
CI report: https://mesa-ci.01.org/global_logic_2/builds/9/group/63a9f0ea7bb98050796b649e85481845
All gen9_iris failed tests or fail on master or pass on my gen9 pc.