That looks wrong to me as well. What would make get_indirect_index different in this case?
----- Original Message ----- > From: Fabian Bieler <fabianbie...@fastmail.fm> > > --- > src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c > b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c > index c199385..1d27e81 100644 > --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c > +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c > @@ -1120,6 +1120,9 @@ emit_fetch_gs_input( > reg->Register.File, > reg->Register.Index, > ®->Indirect); > + > + LLVMValueRef ind = lp_build_const_int32(gallivm, 0); > + attrib_index = LLVMBuildExtractElement(builder, attrib_index, ind, > ""); > } else { > attrib_index = lp_build_const_int32(gallivm, reg->Register.Index); > } > -- > 1.8.3.4 > > _______________________________________________ > 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