projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c474f9
)
vc4: Actually clear the context's dirty flags.
author
Eric Anholt
<eric@anholt.net>
Fri, 10 Oct 2014 12:24:06 +0000
(14:24 +0200)
committer
Eric Anholt
<eric@anholt.net>
Fri, 10 Oct 2014 13:03:13 +0000
(15:03 +0200)
I was trying to skip state updates when !dirty, and suspiciously
everything was always dirty.
src/gallium/drivers/vc4/vc4_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_draw.c
b/src/gallium/drivers/vc4/vc4_draw.c
index 2cac7efb6208f42015180d6f3cd9ef3a509899e7..bc08da3734cd514ac69002a090183e5097185c8a 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_draw.c
+++ b/
src/gallium/drivers/vc4/vc4_draw.c
@@
-103,6
+103,7
@@
vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
vc4_update_compiled_shaders(vc4, info->mode);
vc4_emit_state(pctx);
+ vc4->dirty = 0;
vc4_write_uniforms(vc4, vc4->prog.fs,
&vc4->constbuf[PIPE_SHADER_FRAGMENT],