[Mesa-dev] [PATCH v2 11/23] glsl: Add support for EmitStreamVertex() and EndStreamPrimitive().
imirkin at alum.mit.edu
Thu Jun 19 09:27:48 PDT 2014
On Thu, Jun 19, 2014 at 6:37 AM, Iago Toral <itoral at igalia.com> wrote:
> Regarding st_glsl_to_tgsi.cpp, I think I can use some guidance since I
> am not familiar with gallium. Seeing what is being done for other IR
> types, I think I need to do something like:
> st_src_reg stream_src = ir->stream->accept(this);
> and then emit the TGSI_OPCODE_EMIT passing stream_src to it.
> However, I see that glsl_to_tgsi_visitor::emit() can take no src/dst
> arguments or if it takes, it takes one dst/src pair at least, so I am
> not sure what should be done here... what do I have to use for the dst
> parameter? should I just pass undef_dst? something else?
Gallium presently doesn't have support for streams. This is the patch
series I used on top of your earlier series to start adding it in:
However it's probably fine for you to skip trying to add gallium
support for now. I'm sure my series is some stuff too... probably to
do with queries.
More information about the mesa-dev