On Thu, Jun 19, 2014 at 6:37 AM, Iago Toral <ito...@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: https://github.com/imirkin/mesa/commits/tfb 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. -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev