From: Eric Anholt Date: Tue, 16 Oct 2012 18:27:27 +0000 (-0700) Subject: i965: Stop flushing the batch on timestamp queries, too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cae077cd0ff81ecbe67ef9bec88734891934c54e;p=mesa.git i965: Stop flushing the batch on timestamp queries, too. 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 --- diff --git a/src/mesa/drivers/dri/i965/brw_queryobj.c b/src/mesa/drivers/dri/i965/brw_queryobj.c index 89420e95320..1aa497439d7 100644 --- a/src/mesa/drivers/dri/i965/brw_queryobj.c +++ b/src/mesa/drivers/dri/i965/brw_queryobj.c @@ -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: