This patch series adds support for ARB_base_instance in core mesa and the mesa state tracker.
According to the ARB_draw_instanced spec it's not legal to call the DrawInstanced entry points during display list compilation, but the ARB_base_instance spec doesn't say anything about this. I made the new entry points generate the same error for now, since I assume that this is an omission. Also note I'm not all that familiar with the vbo module, so it's quite possible that I've overlooked something there. Please review and push if there are no issues. Fredrik Höglund (4): mesa: Add support for GL_ARB_base_instance gallium: Add PIPE_CAP_START_INSTANCE st/mesa: Add support for GL_ARB_base_instance docs: update GL3.txt for ARB_base_instance docs/GL3.txt | 2 +- src/gallium/docs/source/screen.rst | 3 +- src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/nv30/nv30_screen.c | 1 + src/gallium/drivers/nv50/nv50_screen.c | 1 + src/gallium/drivers/nvc0/nvc0_screen.c | 1 + src/gallium/drivers/r300/r300_screen.c | 1 + src/gallium/drivers/r600/r600_pipe.c | 1 + src/gallium/drivers/radeonsi/radeonsi_pipe.c | 1 + src/gallium/drivers/svga/svga_screen.c | 1 + src/gallium/include/pipe/p_defines.h | 3 +- src/mapi/glapi/gen/ARB_base_instance.xml | 40 +++++++++ src/mapi/glapi/gen/Makefile | 1 + src/mapi/glapi/gen/gl_API.xml | 3 +- src/mesa/main/dd.h | 10 ++ src/mesa/main/dlist.c | 45 ++++++++++ src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + src/mesa/main/vtxfmt.c | 3 + src/mesa/state_tracker/st_draw.c | 1 + src/mesa/state_tracker/st_extensions.c | 1 + src/mesa/vbo/vbo.h | 1 + src/mesa/vbo/vbo_exec_api.c | 1 + src/mesa/vbo/vbo_exec_array.c | 114 ++++++++++++++++++++++++-- src/mesa/vbo/vbo_save_api.c | 2 + src/mesa/vbo/vbo_split_inplace.c | 6 +- 26 files changed, 231 insertions(+), 15 deletions(-) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev