r600 : update PS and VS emit count for loop constants.
authorRichard Li <richardradeon@gmail.com>
Wed, 18 Nov 2009 19:56:01 +0000 (14:56 -0500)
committerRichard Li <richardradeon@gmail.com>
Wed, 18 Nov 2009 20:38:45 +0000 (15:38 -0500)
src/mesa/drivers/dri/r600/r700_chip.c

index 197916ac0db21bea137289e64a66fd24e151640d..705b5738ed3eaaf9711cff222ea97df60a474236 100644 (file)
@@ -1310,8 +1310,8 @@ void r600InitAtoms(context_t *context)
        ALLOC_STATE(spi, always, (59 + R700_MAX_SHADER_EXPORTS), r700SendSPIState);
        ALLOC_STATE(vpt, always, 16, r700SendViewportState);
        ALLOC_STATE(fs, always, 18, r700SendFSState);
-       ALLOC_STATE(vs, always, 18, r700SendVSState);
-       ALLOC_STATE(ps, always, 21, r700SendPSState);
+       ALLOC_STATE(vs, always, 21, r700SendVSState);
+       ALLOC_STATE(ps, always, 24, r700SendPSState);
        ALLOC_STATE(vs_consts, vs_consts, (2 + (R700_MAX_DX9_CONSTS * 4)), r700SendVSConsts);
        ALLOC_STATE(ps_consts, ps_consts, (2 + (R700_MAX_DX9_CONSTS * 4)), r700SendPSConsts);
        ALLOC_STATE(vtx, vtx, (6 + (VERT_ATTRIB_MAX * 18)), r700SendVTXState);