This splits the patch as requested, notice that I have not done anything to ir_to_mesa.cpp or st_glsl_to_tgsi.cpp since as I explain in another reply I think there is nothing to change in these files in the end.
Iago Toral Quiroga (3): glsl: Modify ir_emit_vertex to have a stream. glsl: Modify ir_end_primitive to have a stream. glsl: Add support for EmitStreamVertex() and EndStreamPrimitive(). src/glsl/builtin_functions.cpp | 66 ++++++++++++++++++++++++++++++++++-- src/glsl/ir.h | 34 ++++++++++++++----- src/glsl/ir_hierarchical_visitor.cpp | 50 +++++++++++++++++---------- src/glsl/ir_hierarchical_visitor.h | 6 ++-- src/glsl/ir_hv_accept.cpp | 20 +++++++++-- src/glsl/ir_rvalue_visitor.cpp | 37 ++++++++++++++++++++ src/glsl/ir_rvalue_visitor.h | 6 ++++ src/glsl/lower_output_reads.cpp | 4 +-- src/glsl/lower_packed_varyings.cpp | 4 +-- src/glsl/opt_dead_code_local.cpp | 2 +- 10 files changed, 191 insertions(+), 38 deletions(-) -- 1.9.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev