glsl: Modify ir_end_primitive to have a stream.
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 20 Jun 2014 08:38:53 +0000 (10:38 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 30 Jun 2014 06:08:50 +0000 (08:08 +0200)
commit4b3fc21032a63f483d381c36c8e41bf3540ebfcc
tree0f01cb04873f5eb0510713e37af1d200d3dcac09
parent8639effefeb8c06beedbfcc294694b6bb72db882
glsl: Modify ir_end_primitive to have a stream.

This will be necessary to implement EndStreamPrimitive().
EndPrimitive() will produce an ir_end_primitive with the default stream 0.

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/builtin_functions.cpp
src/glsl/ir.h
src/glsl/ir_hierarchical_visitor.cpp
src/glsl/ir_hierarchical_visitor.h
src/glsl/ir_hv_accept.cpp
src/glsl/ir_rvalue_visitor.cpp
src/glsl/ir_rvalue_visitor.h