diff options
author | Maciej Cencora <m.cencora@gmail.com> | 2010-01-16 15:11:37 +0100 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-03-08 11:49:16 -0500 |
commit | 29e02c7e720a18b59317c4ad97d8ffc149228c69 (patch) | |
tree | 1d63a3b5ec651dfed9ec8c67ba4658e8ca2ac40c /src | |
parent | 4572ae1925e63227b2785fec446862d398ad0005 (diff) | |
download | external_mesa3d-29e02c7e720a18b59317c4ad97d8ffc149228c69.zip external_mesa3d-29e02c7e720a18b59317c4ad97d8ffc149228c69.tar.gz external_mesa3d-29e02c7e720a18b59317c4ad97d8ffc149228c69.tar.bz2 |
radeon: no need to emit full state twice after flush
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index 79f3ff7..13f1f06 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -1325,11 +1325,6 @@ void rcommonBeginBatch(radeonContextPtr rmesa, int n, const char *function, int line) { - if (!rmesa->cmdbuf.cs->cdw && dostate) { - radeon_print(RADEON_STATE, RADEON_NORMAL, - "Reemit state after flush (from %s)\n", function); - radeonEmitState(rmesa); - } radeon_cs_begin(rmesa->cmdbuf.cs, n, file, function, line); radeon_print(RADEON_CS, RADEON_VERBOSE, "BEGIN_BATCH(%d) at %d, from %s:%i\n", |