softpipe: add image support to softpipe (v3)

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 30 March 2016 18:14 UTC

This adds support for ARB_shader_image_load_store to softpipe.

v2: add RESQ support (Ilia)
v3: constify, cleanup internals, add some comments (Brian).

eb9ad9f softpipe: add image support to softpipe (v3)
src/gallium/auxiliary/tgsi/tgsi_exec.h | 4 +-
src/gallium/drivers/softpipe/Makefile.sources | 2 +
src/gallium/drivers/softpipe/sp_context.c | 20 +-
src/gallium/drivers/softpipe/sp_context.h | 2 +
src/gallium/drivers/softpipe/sp_flush.c | 26 +
src/gallium/drivers/softpipe/sp_flush.h | 2 +
src/gallium/drivers/softpipe/sp_fs_exec.c | 6 +-
src/gallium/drivers/softpipe/sp_image.c | 762 +++++++++++++++++++++++
src/gallium/drivers/softpipe/sp_image.h | 37 ++
src/gallium/drivers/softpipe/sp_state.h | 7 +-
src/gallium/drivers/softpipe/sp_state_derived.c | 3 +-
src/gallium/drivers/softpipe/sp_state_image.c | 57 ++
src/gallium/drivers/softpipe/sp_texture.c | 8 +-
src/gallium/drivers/softpipe/sp_texture.h | 4 +-
14 files changed, 928 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share