[Mesa-dev] [PATCH 00/18] i965 basic CS program generation support

Jordan Justen jordan.l.justen at intel.com
Sat Mar 14 21:54:10 PDT 2015


git://people.freedesktop.org/~jljusten/mesa i965-cs-prog-v1

This depends on the unmerged i965-pipelines series.

With this series merged, we still won't be able to run a CS program,
but we should be able to run some trivial programs after after a
follow on DispatchCompute series.

Jordan Justen (11):
  i965/cs: Support CS_OPCODE_CS_TERMINATE
  i965/cs: Mark g0 as used by CS_OPCODE_CS_TERMINATE
  i965/cs: Emit gen code for CS_OPCODE_CS_TERMINATE
  i965/cs: Add BRW_NEW_CS_PROG_DATA and BRW_CACHE_CS_PROG
  i965/cache: Add support for CS in program state cache
  i965/fs: Support compute programs in fs_visitor
  i965/fs: Don't assign high regs for CS termination send
  i965/cs: Emit compute shader code and upload programs
  i965/cs: Support CS program precompile
  i965/cs: Add max_cs_threads
  i965/cs: Upload brw_cs_state

Paul Berry (7):
  i965/cs: Add BRW_NEW_COMPUTE_PROGRAM state flag.
  mesa/cs: Add inline functions for dealing with compute shaders.
  mesa/cs: Update program.c for compute shaders.
  mesa/cs: Add compute support to update_program().
  i965: Add an INTEL_DEBUG=cs option.
  i965/cs: Add support for the SEND message that terminates a CS thread.
  i965/cs: Add brw_cs_prog_data, brw_cs_prog_key and brw_context::cs.

 src/mesa/drivers/dri/i965/Makefile.sources        |   1 +
 src/mesa/drivers/dri/i965/brw_context.c           |   1 +
 src/mesa/drivers/dri/i965/brw_context.h           |  32 +-
 src/mesa/drivers/dri/i965/brw_cs.cpp              | 360 ++++++++++++++++++++++
 src/mesa/drivers/dri/i965/brw_cs.h                |  48 +++
 src/mesa/drivers/dri/i965/brw_defines.h           |   8 +
 src/mesa/drivers/dri/i965/brw_device_info.c       |   7 +-
 src/mesa/drivers/dri/i965/brw_device_info.h       |   1 +
 src/mesa/drivers/dri/i965/brw_eu.h                |   4 +
 src/mesa/drivers/dri/i965/brw_eu_emit.c           |  46 +++
 src/mesa/drivers/dri/i965/brw_fs.cpp              |  82 ++++-
 src/mesa/drivers/dri/i965/brw_fs.h                |  12 +
 src/mesa/drivers/dri/i965/brw_fs_generator.cpp    |  11 +
 src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp |   6 +-
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp      |  34 ++
 src/mesa/drivers/dri/i965/brw_shader.cpp          |   6 +
 src/mesa/drivers/dri/i965/brw_shader.h            |   3 +
 src/mesa/drivers/dri/i965/brw_state.h             |   1 +
 src/mesa/drivers/dri/i965/brw_state_cache.c       |   3 +
 src/mesa/drivers/dri/i965/brw_state_dump.c        |   3 +
 src/mesa/drivers/dri/i965/brw_state_upload.c      |  12 +
 src/mesa/drivers/dri/i965/intel_debug.c           |   1 +
 src/mesa/drivers/dri/i965/intel_debug.h           |   1 +
 src/mesa/main/state.c                             |  21 ++
 src/mesa/program/program.c                        |   3 +
 src/mesa/program/program.h                        |  22 ++
 26 files changed, 723 insertions(+), 6 deletions(-)
 create mode 100644 src/mesa/drivers/dri/i965/brw_cs.cpp
 create mode 100644 src/mesa/drivers/dri/i965/brw_cs.h

-- 
2.1.4



More information about the mesa-dev mailing list