[Mesa-dev] [PATCH 0/16] radeonsi cleanups

Marek Olšák maraeo at gmail.com
Sat Oct 4 15:42:03 PDT 2014


This is a cleanup series. It removes 147 lines of code. There are 2 goals:
- remove si_shader->inputs[] and outputs[] in favor of tgsi_shader_info
- don't use tgsi_parse_token, use tgsi_shader_info instead

On top of that, the shader key is shrunk a little in patches 2 and 3.

Please review.

 .../drivers/radeon/radeon_setup_tgsi_llvm.c     |   3 +-
 src/gallium/drivers/radeonsi/si_shader.c        | 332 ++++++-------------
 src/gallium/drivers/radeonsi/si_shader.h        |  29 +-
 src/gallium/drivers/radeonsi/si_state.c         |  10 +-
 src/gallium/drivers/radeonsi/si_state_draw.c    |  47 +--
 5 files changed, 137 insertions(+), 284 deletions(-)

Marek


More information about the mesa-dev mailing list