Mesa (master): r600 : update PS and VS emit count for loop constants.

Richard Li richardradeon at kemper.freedesktop.org
Wed Nov 18 20:41:32 UTC 2009


Module: Mesa
Branch: master
Commit: eec428280075c12dfef61bf3f18012dece384923
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eec428280075c12dfef61bf3f18012dece384923

Author: Richard Li <richardradeon at gmail.com>
Date:   Wed Nov 18 14:56:01 2009 -0500

r600 : update PS and VS emit count for loop constants.

---

 src/mesa/drivers/dri/r600/r700_chip.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/r600/r700_chip.c b/src/mesa/drivers/dri/r600/r700_chip.c
index 197916a..705b573 100644
--- a/src/mesa/drivers/dri/r600/r700_chip.c
+++ b/src/mesa/drivers/dri/r600/r700_chip.c
@@ -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);




More information about the mesa-commit mailing list