On Sun, Aug 30, 2015 at 11:43 PM, Dave Airlie <airl...@gmail.com> wrote: > From: Dave Airlie <airl...@redhat.com> > > I've no idea why this is restricted to r600 only, but we should > use vertex fetches anywhere the input shader would use them from > what I can see.
IIRC, the only difference between a vertex fetch and a texture fetch is which cache is used (VC or TC). Various asics only have a TC and eventually the VC was removed for everything. Alex > > Signed-off-by: Dave Airlie <airl...@redhat.com> > --- > src/gallium/drivers/r600/sb/sb_shader.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/r600/sb/sb_shader.cpp > b/src/gallium/drivers/r600/sb/sb_shader.cpp > index 6f4f784..7121b64 100644 > --- a/src/gallium/drivers/r600/sb/sb_shader.cpp > +++ b/src/gallium/drivers/r600/sb/sb_shader.cpp > @@ -601,7 +601,7 @@ sched_queue_id shader::get_queue_id(node* n) { > return SQ_ALU; > case NST_FETCH_INST: { > fetch_node *f = static_cast<fetch_node*>(n); > - if (ctx.is_r600() && (f->bc.op_ptr->flags & FF_VTX)) > + if ((f->bc.op_ptr->flags & FF_VTX)) > return SQ_VTX; > return SQ_TEX; > } > -- > 2.1.0 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev