[Mesa-dev] [PATCH 0/4] i965: ARB_indirect_parameters

Plamena Manolova plamena.n.manolova at gmail.com
Mon Oct 2 20:58:23 UTC 2017

A series of patches introducing ARB_indirect_parameters
for i965. We can implement ARB_indirect_parameters for i965
by taking advantage of the conditional rendering mechanism.
This works by issuing maxdrawcount draw calls and using
conditional rendering to predicate each of them with
"drawcount > gl_DrawID". The first three patches are part
of a necessary refactor of brw_try_draw_prims while the last
one actually introduces the functionality.

Plamena Manolova (4):
  i965: Introduce brw_prepare_drawing.
  i965: Indroduce brw_finish_drawing.
  i965: Refactor brw_try_draw_prims.
  i965: Implement ARB_indirect_parameters.

 src/mesa/drivers/dri/i965/brw_context.h      |   8 +
 src/mesa/drivers/dri/i965/brw_draw.c         | 384 ++++++++++++++++++---------
 src/mesa/drivers/dri/i965/brw_draw.h         |  10 +
 src/mesa/drivers/dri/i965/intel_extensions.c |   4 +-
 4 files changed, 273 insertions(+), 133 deletions(-)


More information about the mesa-dev mailing list