[Mesa-dev] [PATCH 0/5] Add ARB_indirect_parameters support

Ilia Mirkin imirkin at alum.mit.edu
Sat Jan 2 12:38:48 PST 2016


The nvc0 patch applies on top of some unpublished patches, see

https://github.com/imirkin/mesa/commits/tmp4

for the full thing. The whole series applies on top of the
ARB_multi_draw_indirect patches I sent earlier (with potential minor
modifications). There is some type confusion between the
ARB_indirect_parameters spec and the Khronos gl.xml/glcorearb.h files,
I went with the latter's definitions.

This passes the relatively simple piglit test I sent.

Ilia Mirkin (5):
  glapi: add ARB_indirect_parameters definitions
  mesa: add parameter buffer, used for ARB_indirect_parameters
  mesa: add support for ARB_indirect_parameters draw functions
  st/mesa: expose ARB_indirect_parameters when the backend driver allows
  nvc0: add ARB_indirect_parameters support

 docs/relnotes/11.2.0.html                          |   1 +
 src/gallium/drivers/nouveau/nvc0/mme/com9097.mme   | 157 +++++++++++++++++++++
 src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h | 125 ++++++++++++++++
 src/gallium/drivers/nouveau/nvc0/nvc0_macros.h     |   4 +
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c     |   4 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c        |  29 +++-
 src/mapi/glapi/gen/ARB_indirect_parameters.xml     |  30 ++++
 src/mapi/glapi/gen/Makefile.am                     |   1 +
 src/mapi/glapi/gen/gl_API.xml                      |   6 +-
 src/mesa/main/api_validate.c                       | 115 +++++++++++++++
 src/mesa/main/api_validate.h                       |  16 +++
 src/mesa/main/bufferobj.c                          |  15 ++
 src/mesa/main/extensions_table.h                   |   1 +
 src/mesa/main/get.c                                |   5 +
 src/mesa/main/get_hash_params.py                   |   4 +
 src/mesa/main/mtypes.h                             |   2 +
 src/mesa/main/tests/dispatch_sanity.cpp            |   4 +
 src/mesa/state_tracker/st_cb_bufferobjects.c       |   1 +
 src/mesa/state_tracker/st_extensions.c             |   1 +
 src/mesa/vbo/vbo_exec_array.c                      | 124 ++++++++++++++++
 20 files changed, 638 insertions(+), 7 deletions(-)
 create mode 100644 src/mapi/glapi/gen/ARB_indirect_parameters.xml

-- 
2.4.10



More information about the mesa-dev mailing list