Re: [Mesa-dev] [PATCH 42/43] i965: Use blorp for CopyImageSubData on gen4-5

2017-05-26 Thread Jason Ekstrand
On Fri, May 26, 2017 at 11:42 AM, Ilia Mirkin wrote: > On Tue, May 16, 2017 at 6:45 PM, Jason Ekstrand > wrote: > > @@ -118,55 +42,25 @@ copy_miptrees(struct brw_context *brw, > >int dst_x, int dst_y, int dst_z, unsigned dst_level, > >int src_width, int src_height

Re: [Mesa-dev] [PATCH 42/43] i965: Use blorp for CopyImageSubData on gen4-5

2017-05-26 Thread Ilia Mirkin
On Tue, May 16, 2017 at 6:45 PM, Jason Ekstrand wrote: > @@ -118,55 +42,25 @@ copy_miptrees(struct brw_context *brw, >int dst_x, int dst_y, int dst_z, unsigned dst_level, >int src_width, int src_height) > { > - unsigned bw, bh; > - > - if (brw->gen >= 6) { > -

[Mesa-dev] [PATCH 42/43] i965: Use blorp for CopyImageSubData on gen4-5

2017-05-16 Thread Jason Ekstrand
We keep the blit path because it's probably faster when it works. However, now that we can use blorp, we can delete that nasty CPU fall-back path. --- src/mesa/drivers/dri/i965/intel_copy_image.c | 140 --- 1 file changed, 17 insertions(+), 123 deletions(-) diff --git a/sr