[Mesa-dev] [PATCH 0/3] [RFC] Allow the drivers to control output reads removal

Vadim Girlin vadimgirlin at gmail.com
Mon Nov 14 04:57:32 PST 2011


These patches are adding new pipe cap to allow omitting output->temp
transformation when shader is reading output values.

  gallium: add PIPE_CAP_SHADER_OUTPUT_READ
  st/mesa: use PIPE_CAP_SHADER_OUTPUT_READ
  r600g: handle PIPE_CAP_SHADER_OUTPUT_READ

 src/gallium/auxiliary/tgsi/tgsi_ureg.c     |    1 -
 src/gallium/drivers/r600/r600_pipe.c       |    1 +
 src/gallium/include/pipe/p_defines.h       |    3 ++-
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp |   11 +++++++----
 4 files changed, 10 insertions(+), 6 deletions(-)

-- 
1.7.7.1



More information about the mesa-dev mailing list