projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: Send the minimal number of STATE_BASE_ADDRESS packets.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_state_cache.c
diff --git
a/src/mesa/drivers/dri/i965/brw_state_cache.c
b/src/mesa/drivers/dri/i965/brw_state_cache.c
index c6aa1344270032a1f45bdc475aa1fb7a5a2f2e14..0e98e654c1c7c67e41afc2de4a59999c5f701d93 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_state_cache.c
+++ b/
src/mesa/drivers/dri/i965/brw_state_cache.c
@@
-199,6
+199,7
@@
brw_cache_new_bo(struct brw_cache *cache, uint32_t new_size)
* that depend on it (state base address on gen5+, or unit state before).
*/
brw->ctx.NewDriverState |= BRW_NEW_PROGRAM_CACHE;
+ brw->batch.state_base_address_emitted = false;
}
/**