i965: Indroduce brw_finish_drawing.
authorPlamena Manolova <plamena.n.manolova@gmail.com>
Mon, 2 Oct 2017 20:58:25 +0000 (23:58 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 2 Oct 2017 23:25:36 +0000 (16:25 -0700)
commit646e1123859405da36c7a9920e0c5e270eb4979f
tree9e9ce214f145f0904df7db24f17cb71b9574ca70
parentc63c8f51358e47383aa0f447b6882070a6d509a1
i965: Indroduce brw_finish_drawing.

In order to add our ARB_indirect_parameters implementation we
need to refactor brw_try_draw_prims so that it operates on a
per primitive basis and move the loop into brw_draw_prims.
This commit introduces the brw_finish_drawing function where
we move the code that executes once after the loop.

Signed-off-by: Plamena Manolova <plamena.manolova@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw.c