diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-08-21 17:41:43 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-08-21 17:46:32 -0400 |
commit | bf5d6cf455c02d752cfea320f14765b997dc7266 (patch) | |
tree | 42154bf50da24a787493e0f641d1216a037e89e4 /src/mesa/drivers/dri/r600/r700_vertprog.c | |
parent | 4cfb1b880b52d6bba32f4ebec78040ff6bf6737f (diff) |
r600: better default state size.
Hopefully suokko's emit size impovements will
land soon.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_vertprog.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_vertprog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_vertprog.c b/src/mesa/drivers/dri/r600/r700_vertprog.c index 31e71cdfa3..14da4ed1d3 100644 --- a/src/mesa/drivers/dri/r600/r700_vertprog.c +++ b/src/mesa/drivers/dri/r600/r700_vertprog.c @@ -368,6 +368,8 @@ GLboolean r700SetupVertexProgram(GLcontext * ctx) (context->chipobj.MemUse)(context, vp->shadercode.buf->id); */ + R600_STATECHANGE(context, spi); + r700->vs.SQ_PGM_START_VS.u32All = 0; /* set from buffer object. */ SETfield(r700->vs.SQ_PGM_RESOURCES_VS.u32All, vp->r700Shader.nRegs + 1, |