projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: Set brw->batch.emit only #ifdef DEBUG.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
intel_batchbuffer.h
diff --git
a/src/mesa/drivers/dri/i965/intel_batchbuffer.h
b/src/mesa/drivers/dri/i965/intel_batchbuffer.h
index 8eaedd1896b7ea6e9ce93b7fab358f84b2d399f9..e58eae4115d5c211ad04628c5cedd588a79392e4 100644
(file)
--- a/
src/mesa/drivers/dri/i965/intel_batchbuffer.h
+++ b/
src/mesa/drivers/dri/i965/intel_batchbuffer.h
@@
-138,8
+138,8
@@
intel_batchbuffer_begin(struct brw_context *brw, int n, enum brw_gpu_ring ring)
{
intel_batchbuffer_require_space(brw, n * 4, ring);
- brw->batch.emit = brw->batch.used;
#ifdef DEBUG
+ brw->batch.emit = brw->batch.used;
brw->batch.total = n;
#endif
}