geometry shaders: make gs work with changable primitives and variable number of vertices
authorZack Rusin <zack@kde.org>
Wed, 9 Jun 2010 15:13:34 +0000 (11:13 -0400)
committerZack Rusin <zack@kde.org>
Wed, 9 Jun 2010 15:13:34 +0000 (11:13 -0400)
commitd4ef0f6c67aefe06d8dd647acf8d9005df39a709
tree00ac70cad31762c1dbc4a99abcfa985e6fe77946
parentcec9955acc03d292c67815371415edc3fc3fc4b0
geometry shaders: make gs work with changable primitives and variable number of vertices

lots and lots of fixes for geometry shaders. in particular now we work when the gs
emits a different primitive than the one the pipeline was started with and also
we work when gs emits more vertices than would fit in the original buffer.
14 files changed:
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/draw/draw_gs.h
src/gallium/auxiliary/draw/draw_pt.c
src/gallium/auxiliary/draw/draw_pt.h
src/gallium/auxiliary/draw/draw_pt_fetch_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c
src/gallium/auxiliary/draw/draw_pt_post_vs.c
src/gallium/auxiliary/draw/draw_pt_varray.c
src/gallium/auxiliary/draw/draw_pt_vcache.c
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/include/pipe/p_shader_tokens.h
src/gallium/tests/graw/geometry-shader/line.txt