[Mesa-dev] [PATCH 0/4] arb_compute_shader: Implement indirect dispatch support

Jordan Justen jordan.l.justen at intel.com
Sat Sep 19 15:50:45 PDT 2015


git://people.freedesktop.org/~jljusten/mesa cs-indirect-dispatch-v1
http://patchwork.freedesktop.org/bundle/jljusten/cs-indirect-dispatch-v1

These patches allow piglit's arb_compute_shader-indirect-compute to
pass. (Note, this is on the list now, and not yet in tree.)

To test, I set MESA_GL_VERSION_OVERRIDE=4.3,
MESA_GLSL_VERSION_OVERRIDE=430 and
MESA_EXTENSION_OVERRIDE=GL_ARB_compute_shader.

Jordan Justen (4):
  mesa/cs: Add _mesa_validate_DispatchCompute
  mesa/cs: Support GL_DISPATCH_INDIRECT_BUFFER
  mesa/cs: Implement glDispatchComputeIndirect
  i965/cs: Implement DispatchComputeIndirect support

 src/mesa/drivers/dri/i965/brw_compute.c |  57 +++++++++++++++--
 src/mesa/drivers/dri/i965/brw_defines.h |   2 +
 src/mesa/drivers/dri/i965/intel_reg.h   |   5 ++
 src/mesa/main/api_validate.c            | 108 ++++++++++++++++++++++++++++++++
 src/mesa/main/api_validate.h            |   8 +++
 src/mesa/main/bufferobj.c               |  17 +++++
 src/mesa/main/compute.c                 |  38 +++--------
 src/mesa/main/dd.h                      |   1 +
 src/mesa/main/get.c                     |   4 ++
 src/mesa/main/get_hash_params.py        |   1 +
 src/mesa/main/mtypes.h                  |   1 +
 11 files changed, 209 insertions(+), 33 deletions(-)

-- 
2.5.1



More information about the mesa-dev mailing list