[Mesa-dev] [PATCH v2 00/10] st/mesa: add shader buffer support
Ilia Mirkin
imirkin at alum.mit.edu
Mon Jan 18 18:30:18 PST 2016
Incorporated feedback from Marek, as well as the R-b's that were
sent.
Ilia Mirkin (10):
tgsi: add MEMBAR opcode to handle memoryBarrier* GLSL intrinsics
glsl: keep track of ssbo variable being accessed, add access params
st/mesa: add PROGRAM_BUFFER, stop using gl_register_file
st/mesa: add atomic counter support
st/mesa: add support for SSBO binding and GLSL intrinsics
st/mesa: use RESQ to find buffer size
st/mesa: add support for memory barrier intrinsics
st/mesa: add shader buffer barrier bit
st/mesa: enable ARB_shader_storage_buffer_object when supported
trace: add support for set_shader_buffers
src/gallium/auxiliary/tgsi/tgsi_info.c | 2 +-
src/gallium/docs/source/tgsi.rst | 17 ++
src/gallium/drivers/trace/tr_context.c | 38 +++
src/gallium/drivers/trace/tr_dump_state.c | 18 ++
src/gallium/drivers/trace/tr_dump_state.h | 2 +
src/gallium/include/pipe/p_defines.h | 1 +
src/gallium/include/pipe/p_shader_tokens.h | 7 +-
src/glsl/lower_ubo_reference.cpp | 23 ++
src/glsl/nir/shader_enums.h | 10 +
src/mesa/Makefile.sources | 2 +
src/mesa/program/ir_to_mesa.cpp | 4 +
src/mesa/state_tracker/st_atom.c | 10 +
src/mesa/state_tracker/st_atom.h | 10 +
src/mesa/state_tracker/st_atom_atomicbuf.c | 158 ++++++++++
src/mesa/state_tracker/st_atom_storagebuf.c | 194 ++++++++++++
src/mesa/state_tracker/st_cb_bufferobjects.c | 4 +
src/mesa/state_tracker/st_cb_texturebarrier.c | 4 +
src/mesa/state_tracker/st_context.c | 2 +
src/mesa/state_tracker/st_context.h | 2 +
src/mesa/state_tracker/st_extensions.c | 30 ++
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 412 ++++++++++++++++++++++++--
21 files changed, 920 insertions(+), 30 deletions(-)
create mode 100644 src/mesa/state_tracker/st_atom_atomicbuf.c
create mode 100644 src/mesa/state_tracker/st_atom_storagebuf.c
--
2.4.10
More information about the mesa-dev
mailing list