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.
---
 src/mesa/drivers/dri/i965/brw_queryobj.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_queryobj.c 
b/src/mesa/drivers/dri/i965/brw_queryobj.c
index 89420e9..1aa4974 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:
-- 
1.7.10.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to