[Mesa-dev] [PATCH 00/11] ARB_draw_indirect support for i965

Chris Forbes chrisf at ijw.co.nz
Mon Nov 4 01:09:41 PST 2013

This series adds support for ARB_[multi_]draw_indirect on IVB and later.

Patches 1-2 are updated versions of Christoph's initial ARB_draw_indirect
patches, adjusted only to resolve rebase issues, etc.

Patches 3-7 are the meat of the implementation; the indirect buffer is
referenced from the batch, and pre-3DPRIMITIVE we emit a bunch of
MI_LOAD_REGISTER_MEM to populate the various MMIO registers for draw parameters.

Patches 8-10 add support for indirect draws in the sw primitive restart path.
This is unpleasant, but required for complete support on IVB.

Finally, patch 11 enables the extension for IVB and HSW, if the kernel supports
LRI/LRM from user batchbuffers.

More information about the mesa-dev mailing list