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

Vadim Girlin vadimgirlin at gmail.com
Tue Nov 15 07:57:19 PST 2011


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

v2: use pipe_shader_cap enum instead of pipe_cap

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

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

-- 
1.7.7.1



More information about the mesa-dev mailing list