void _intel_flush(struct gl_context *ctx, const char *file, int line) { struct brw_context *brw = brw_context(ctx); if (brw->batch.used) _intel_batchbuffer_flush(brw, file, line); }
void _intel_flush(struct gl_context *ctx, const char *file, int line) { struct intel_context *intel = intel_context(ctx); intel_flush_rendering_to_batch(ctx); if (intel->batch.used) _intel_batchbuffer_flush(intel, file, line); }