projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0c883
)
[965] Flush icache on new batch, not just new context.
author
Eric Anholt
<eric@anholt.net>
Thu, 7 Feb 2008 20:09:16 +0000
(12:09 -0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 7 Feb 2008 21:14:59 +0000
(13:14 -0800)
This is required since our buffer manager may now move our
instruction-containing buffers at any batchbuffer emit.
src/mesa/drivers/dri/i965/brw_misc_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_misc_state.c
b/src/mesa/drivers/dri/i965/brw_misc_state.c
index 8277da7dd30b9674e8fa1a2ec536f5620405d9c5..450d62c71f867d5a191f5a115839b7cd096add08 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_misc_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_misc_state.c
@@
-394,7
+394,7
@@
static void upload_pipe_control(struct brw_context *brw)
const struct brw_tracked_state brw_pipe_control = {
.dirty = {
.mesa = 0,
- .brw = BRW_NEW_
CONTEXT
,
+ .brw = BRW_NEW_
BATCH
,
.cache = 0
},
.update = upload_pipe_control