gallium/u_blitter: use draw_rectangle for all blits except cubemaps
authorMarek Olšák <marek.olsak@amd.com>
Thu, 17 Aug 2017 01:32:23 +0000 (03:32 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 11 Sep 2017 00:10:24 +0000 (02:10 +0200)
commit22ed1ba01a4d1a331775cf8d8faf256d69276e83
treea98d18ff65baa75e317bdcc9985d102e1e661df0
parent43247c440e65e41ea8a7d48249aef66f508601e3
gallium/u_blitter: use draw_rectangle for all blits except cubemaps

Add ZW coordinates to the draw_rectangle callback and use it.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Tested-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/radeon/r600_pipe_common.c