From: Alyssa Rosenzweig Date: Mon, 4 Mar 2019 05:01:45 +0000 (+0000) Subject: panfrost: Flush with offscreen rendering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25bbb44dce347b37caa5efdb7d5dfccbe593427e;p=mesa.git panfrost: Flush with offscreen rendering This special-case was needlessly added and breaks purely offscreen rendering (when there is no scanout involved) Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso driver->force_flush_fragment(ctx); screen->last_fragment_id = fragment_id; screen->last_fragment_flushed = false; /* If readback, flush now (hurts the pipelined performance) */ - if (panfrost_is_scanout(ctx) && flush_immediate) + if (flush_immediate) screen->driver->force_flush_fragment(ctx); if (screen->driver->dump_counters && pan_counters_base) {