xf86-video-intel: src/sna/gen3_render.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Nov 9 17:07:33 PST 2011
src/sna/gen3_render.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a72563464f53f24246379afcf1365206fae9aad3
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Nov 10 00:55:55 2011 +0000
sna/gen3: Clear the video shader flag upon batch reset
Fixes regression from 3252b46e1.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index 83ac23a..8e978c2 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -1743,7 +1743,7 @@ gen3_render_reset(struct sna *sna)
state->last_blend = 0;
state->last_constants = 0;
state->last_sampler = 0;
- state->last_shader = -1;
+ state->last_shader = 0x7fffffff;
state->last_diffuse = 0xcc00ffee;
state->last_specular = 0xcc00ffee;
More information about the xorg-commit
mailing list