Sorry, the subject should say "5 more input SGPRs". Marek
On Sat, Apr 26, 2014 at 3:36 PM, Marek Olšák <mar...@gmail.com> wrote: > From: Marek Olšák <marek.ol...@amd.com> > > Mesa needs one more SGPR, let's add 5 then, because it's a recurring issue. > > This is silly. Why cannot Mesa specify the calling convention? > Now I have to break transform feedback to support ARB_draw_indirect until > this patch is released. Or I'll have to wait until the release and then > merge ARB_draw_indirect support. > > Signed-off-by: Marek Olšák <marek.ol...@amd.com> > --- > lib/Target/R600/AMDGPUCallingConv.td | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/Target/R600/AMDGPUCallingConv.td > b/lib/Target/R600/AMDGPUCallingConv.td > index 65cdb24..5f8ad8c 100644 > --- a/lib/Target/R600/AMDGPUCallingConv.td > +++ b/lib/Target/R600/AMDGPUCallingConv.td > @@ -20,7 +20,7 @@ def CC_SI : CallingConv<[ > CCIfInReg<CCIfType<[f32, i32] , CCAssignToReg<[ > SGPR0, SGPR1, SGPR2, SGPR3, SGPR4, SGPR5, SGPR6, SGPR7, > SGPR8, SGPR9, SGPR10, SGPR11, SGPR12, SGPR13, SGPR14, SGPR15, > - SGPR16 > + SGPR16, SGPR17, SGPR18, SGPR19, SGPR20, SGPR21 > ]>>>, > > CCIfInReg<CCIfType<[i64] , CCAssignToRegWithShadow< > -- > 1.8.3.2 > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev