i965: Use meta for pixel ops on gen6+
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 May 2018 23:22:47 +0000 (16:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 May 2018 22:46:20 +0000 (15:46 -0700)
commit7fd962093f71d83ffc74962a8f7572b493d9030f
treee2a11a14da18c2277a6a5a884f88306012ea21ef
parent92f01fc5f914fd500497d0c3aed75f3ac8dc054d
i965: Use meta for pixel ops on gen6+

Using meta for anything is fairly aweful and definitely has more CPU
overhead.  However, it also uses the 3D pipe and is therefore likely
faster in terms of GPU time than the blitter.  Also, the blitter code
has so many early returns that it's probably not buying us that much.
We may as well just use meta all the time instead of working over-time
to find the tiny case where we can use the blitter.  We keep gen4-5
using the old blit paths to avoid perturbing old hardware too much.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
src/mesa/drivers/dri/i965/intel_pixel_copy.c
src/mesa/drivers/dri/i965/intel_pixel_draw.c