radeon: no need to emit full state twice after flush

This commit is contained in:
Maciej Cencora 2010-01-16 15:11:37 +01:00 committed by Alex Deucher
parent 4572ae1925
commit 29e02c7e72

View file

@ -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",