summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2009-05-12 13:04:32 +0200
committerJerome Glisse <glisse@freedesktop.org>2009-05-12 13:04:32 +0200
commit05c19ec7f0717549c010afc0b6cdc81962d32675 (patch)
treec7192dfdda8205a1b6ff837b2e3281820afa8ad3 /src/mesa
parent0bfa8dfaaf49703eb5c3237b5cae6201b8755e4d (diff)
r300/r500: make sure we detect constant buffer changes
This was broken with last merge see f48473e42511f8d37a239a07f791bc0a87209e5b for explanations.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog_common.c b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
index 6eaad76550..2a880e6d14 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog_common.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
@@ -281,7 +281,7 @@ void r300TranslateFragmentShader(GLcontext *ctx, struct gl_fragment_program *fp)
r300_fp->translated = GL_TRUE;
- r300UpdateStateParameters(ctx, _NEW_PROGRAM);
+ r300UpdateStateParameters(ctx, _NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS);
if (r300_fp->error || (RADEON_DEBUG & DEBUG_PIXEL))
r300->vtbl.FragmentProgramDump(&r300_fp->code);