[PATCH 00/11] shader variants

Christian Gmeiner christian.gmeiner at gmail.com
Sun Mar 26 14:13:04 UTC 2017


This patch series adds support for shader variants to etnaviv. Followed
by fixing rendering to rb swapped formats with the help of a shader
variant to do the needed swizzing.

A git branch containing all patches can be found here:
https://github.com/austriancoder/mesa/commits/shader-variants

Happy reviewing.

Christian Gmeiner (11):
  etnaviv: remove not needed forward declarations
  etnaviv: s/etna_shader/etna_shader_variant
  etnaviv: add basic shader variant support
  etnaviv: add struct etna_shader_state
  etnaviv: make specs const
  etnaviv: pass a preallocated variant to compiler
  etnaviv: add etna_shader_key and generate variants if needed
  etnaviv: bring back shader-db traces
  etnaviv: adopt shader-db output for variant support
  etnaviv: add support for rb swap
  Revert "etnaviv: Cannot render to rb-swapped formats"

 src/gallium/drivers/etnaviv/etnaviv_clear_blit.c   |   4 +-
 src/gallium/drivers/etnaviv/etnaviv_compiler.c     |  92 +++++++------
 src/gallium/drivers/etnaviv/etnaviv_compiler.h     |  20 ++-
 .../drivers/etnaviv/etnaviv_compiler_cmdline.c     |  32 ++++-
 src/gallium/drivers/etnaviv/etnaviv_context.c      |  45 +++++++
 src/gallium/drivers/etnaviv/etnaviv_context.h      |  12 +-
 src/gallium/drivers/etnaviv/etnaviv_emit.c         |  16 +--
 src/gallium/drivers/etnaviv/etnaviv_screen.c       |   7 +-
 src/gallium/drivers/etnaviv/etnaviv_shader.c       | 142 +++++++++++++++------
 src/gallium/drivers/etnaviv/etnaviv_shader.h       |  39 +++++-
 src/gallium/drivers/etnaviv/etnaviv_uniforms.c     |   6 +-
 src/gallium/drivers/etnaviv/etnaviv_uniforms.h     |   6 +-
 12 files changed, 305 insertions(+), 116 deletions(-)

-- 
2.9.3



More information about the etnaviv mailing list