draw: add support to tgsi paths for geometry streams. (v2)

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [gmail.com] - 9 April 2019 01:19 UTC

This hooks up the geometry shader processing to the TGSI support added in the previous commits.

It doesn't change the llvm interface other than to keep things building.

v2: fix some regressions caused by primitiveoffsets

7720ce32aac draw: add support to tgsi paths for geometry streams. (v2)
src/gallium/auxiliary/draw/draw_gs.c | 198 +++++++++++++--------
src/gallium/auxiliary/draw/draw_gs.h | 21 ++-
src/gallium/auxiliary/draw/draw_pt.h | 1 +
.../auxiliary/draw/draw_pt_fetch_shade_pipeline.c | 16 +-
.../draw/draw_pt_fetch_shade_pipeline_llvm.c | 14 +-
src/gallium/auxiliary/draw/draw_pt_so_emit.c | 64 ++++---
src/gallium/drivers/softpipe/sp_query.c | 4 +-
7 files changed, 194 insertions(+), 124 deletions(-)

Upstream: cgit.freedesktop.org


  • Share