[Mesa-dev] [PATCH 00/11] Initial glsl + i965 barrier support

Jordan Justen jordan.l.justen at intel.com
Sun Mar 22 18:49:10 PDT 2015


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

These have been tested with CS on gen7 & gen8.

There is more glsl barrer() work with regards to control flow
requirements, but I think Chris already has some support for this in
his TS branch. (CS will require some tweaks to that as well.)

Chris Forbes (2):
  glsl: Add ir node for barrier
  glsl: Add builtin barrier() function

Jordan Justen (9):
  nir: Add barrier intrinsic function
  i965: Add GATEWAY_SFID definitions
  i965/inst: Add notify and gateway_subfuncid fields
  i965: Disassemble Gateway SEND messages
  i965: Add notification register
  i965: Add brw_wait to emit wait instruction
  i965: Add brw_barrier to emit a Gateway Barrier SEND
  i965/fs: Implement support for ir_barrier
  i965/nir: Support barrier intrinsic function

 src/glsl/builtin_functions.cpp                 | 29 ++++++++++++++
 src/glsl/ir.h                                  | 24 ++++++++++++
 src/glsl/ir_hierarchical_visitor.cpp           |  9 +++++
 src/glsl/ir_hierarchical_visitor.h             |  1 +
 src/glsl/ir_hv_accept.cpp                      |  6 +++
 src/glsl/ir_print_visitor.cpp                  |  5 +++
 src/glsl/ir_print_visitor.h                    |  1 +
 src/glsl/ir_reader.cpp                         | 15 +++++++
 src/glsl/ir_visitor.h                          |  2 +
 src/glsl/nir/glsl_to_nir.cpp                   |  9 +++++
 src/glsl/nir/nir_intrinsics.h                  |  1 +
 src/mesa/drivers/dri/i965/brw_defines.h        | 13 +++++++
 src/mesa/drivers/dri/i965/brw_disasm.c         | 16 ++++++++
 src/mesa/drivers/dri/i965/brw_eu.h             |  5 +++
 src/mesa/drivers/dri/i965/brw_eu_emit.c        | 54 ++++++++++++++++++++++++++
 src/mesa/drivers/dri/i965/brw_fs.h             |  4 ++
 src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 11 ++++++
 src/mesa/drivers/dri/i965/brw_fs_nir.cpp       |  4 ++
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp   | 31 +++++++++++++++
 src/mesa/drivers/dri/i965/brw_inst.h           | 18 +++++++--
 src/mesa/drivers/dri/i965/brw_reg.h            | 16 ++++++++
 src/mesa/drivers/dri/i965/brw_shader.cpp       |  3 ++
 src/mesa/drivers/dri/i965/brw_vec4.h           |  1 +
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp |  6 +++
 src/mesa/program/ir_to_mesa.cpp                |  7 ++++
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp     |  7 ++++
 26 files changed, 295 insertions(+), 3 deletions(-)

-- 
2.1.4



More information about the mesa-dev mailing list