[Mesa-dev] [PATCH 0/8] gallium: add support for multiple vertex streams

Ilia Mirkin imirkin at alum.mit.edu
Thu Jun 26 21:40:08 PDT 2014


This patch series is enough for xfb-streams to pass on a GK107 card. Haven't
done much more testing than that.

The mesa/st bits apply on top of Iago's v2 23-patch series, all the other
patches should be independent of that.

Ilia Mirkin (8):
  gallium: add vertex stream argument to EMIT/ENDPRIM
  gallium: add support for stream in so info
  gallium: add a stream argument to create_query
  gallium: add a cap for max vertex streams
  mesa/st: add vertex stream support
  nvc0/ir: remove restarts for non-0 vertex streams
  nvc0/ir: fix emitting vertex stream
  nvc0: expose 4 vertex streams, use stream ids in xfb

 src/gallium/auxiliary/hud/hud_driver_query.c       |  6 ++---
 src/gallium/auxiliary/tgsi/tgsi_info.c             |  4 ++--
 src/gallium/docs/source/screen.rst                 |  2 ++
 src/gallium/docs/source/tgsi.rst                   |  8 +++----
 src/gallium/drivers/freedreno/freedreno_query.c    |  2 +-
 src/gallium/drivers/freedreno/freedreno_screen.c   |  1 +
 src/gallium/drivers/galahad/glhd_context.c         |  6 +++--
 src/gallium/drivers/i915/i915_query.c              |  3 ++-
 src/gallium/drivers/i915/i915_screen.c             |  1 +
 src/gallium/drivers/identity/id_context.c          |  6 +++--
 src/gallium/drivers/ilo/ilo_query.c                |  2 +-
 src/gallium/drivers/ilo/ilo_screen.c               |  1 +
 src/gallium/drivers/llvmpipe/lp_query.c            |  3 ++-
 src/gallium/drivers/llvmpipe/lp_screen.c           |  2 ++
 src/gallium/drivers/noop/noop_pipe.c               |  2 +-
 .../drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp  | 14 ++++++------
 .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp      | 26 +++++++++++++++++++---
 .../nouveau/codegen/nv50_ir_lowering_nvc0.h        |  1 +
 src/gallium/drivers/nouveau/nv30/nv30_query.c      |  2 +-
 src/gallium/drivers/nouveau/nv30/nv30_screen.c     |  1 +
 src/gallium/drivers/nouveau/nv50/nv50_query.c      |  2 +-
 src/gallium/drivers/nouveau/nv50/nv50_screen.c     |  2 ++
 src/gallium/drivers/nouveau/nv50/nv50_state.c      |  2 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_program.c    |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_program.h    |  1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_query.c      |  3 ++-
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c     |  2 ++
 .../drivers/nouveau/nvc0/nvc0_shader_state.c       |  2 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_state.c      |  2 +-
 src/gallium/drivers/r300/r300_query.c              |  3 ++-
 src/gallium/drivers/r300/r300_screen.c             |  1 +
 src/gallium/drivers/r600/r600_pipe.c               |  2 ++
 src/gallium/drivers/radeon/r600_query.c            |  2 +-
 src/gallium/drivers/radeonsi/si_pipe.c             |  2 ++
 src/gallium/drivers/rbug/rbug_context.c            |  6 +++--
 src/gallium/drivers/softpipe/sp_query.c            |  3 ++-
 src/gallium/drivers/softpipe/sp_screen.c           |  2 ++
 src/gallium/drivers/svga/svga_pipe_query.c         |  4 +++-
 src/gallium/drivers/svga/svga_screen.c             |  1 +
 src/gallium/drivers/trace/tr_context.c             |  6 +++--
 src/gallium/drivers/trace/tr_dump_state.c          |  1 +
 src/gallium/include/pipe/p_context.h               |  3 ++-
 src/gallium/include/pipe/p_defines.h               |  3 ++-
 src/gallium/include/pipe/p_state.h                 |  1 +
 .../state_trackers/clover/core/timestamp.cpp       |  2 +-
 src/gallium/tests/graw/occlusion-query.c           |  4 ++--
 src/gallium/tools/trace/dump_state.py              |  2 +-
 src/mesa/state_tracker/st_cb_queryobj.c            |  6 ++---
 src/mesa/state_tracker/st_extensions.c             |  2 ++
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp         |  9 ++++++--
 50 files changed, 122 insertions(+), 53 deletions(-)

-- 
1.8.5.5



More information about the mesa-dev mailing list