[Mesa-dev] [PATCH 00/10] gallium: more preparation for shader images support

Nicolai Hähnle nhaehnle at gmail.com
Sun Mar 13 14:29:42 UTC 2016


Hi,

this is probably my last batch of hardware-independent patches that need
to be pushed before the series that finally adds ARB_shader_image_load_store
for radeonsi.

Patches 1 to 7 add various fields to TGSI and pipe_image_view to communicate
state and flags to the driver that are so far not communicated at all or are
only communicated in a less convenient form.

Patches 8 & 9 are two simple utility functions that I am using in my radeonsi
series.

Patch 10 already implements early_fragment_tests for radeonsi, even though it
cannot be used yet.

Please review!

Thanks,
Nicolai
--
 src/gallium/auxiliary/tgsi/tgsi_build.c      | 15 ++++++++
 src/gallium/auxiliary/tgsi/tgsi_build.h      |  5 +++
 src/gallium/auxiliary/tgsi/tgsi_dump.c       |  8 +++++
 src/gallium/auxiliary/tgsi/tgsi_strings.c    |  1 +
 src/gallium/auxiliary/tgsi/tgsi_ureg.c       | 12 +++++--
 src/gallium/auxiliary/tgsi/tgsi_ureg.h       |  8 +++--
 src/gallium/auxiliary/util/u_inlines.h       | 10 ++++++
 src/gallium/docs/source/tgsi.rst             |  6 ++++
 .../drivers/radeonsi/si_state_shaders.c      |  3 ++
 src/gallium/include/pipe/p_defines.h         |  8 +++++
 src/gallium/include/pipe/p_shader_tokens.h   |  7 ++--
 src/gallium/include/pipe/p_state.h           |  3 +-
 src/mesa/state_tracker/st_atom_image.c       | 15 ++++++++
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp   | 34 +++++++++++++-----
 14 files changed, 118 insertions(+), 17 deletions(-)



More information about the mesa-dev mailing list