i965: Stop flushing the batch on timestamp queries, too.
authorEric Anholt <eric@anholt.net>
Tue, 16 Oct 2012 18:27:27 +0000 (11:27 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 19 Oct 2012 18:47:01 +0000 (11:47 -0700)
Given the usecase we have of trying to measure timestamps across individual
draw calls, flushing will totally mess up what people are trying to measure.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_queryobj.c

index 89420e9532046708227ede0b26d9f8e496534e83..1aa497439d7eb325da15ae39a41b4b58e8f8420d 100644 (file)
@@ -302,7 +302,6 @@ brw_end_query(struct gl_context *ctx, struct gl_query_object *q)
 
    case GL_TIME_ELAPSED_EXT:
       write_timestamp(intel, query->bo, 1);
-      intel_batchbuffer_flush(intel);
       break;
 
    case GL_SAMPLES_PASSED_ARB: