gallium/util: Fix util_blitter_clear_render_target() for num_layers>1
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Thu, 26 Nov 2015 05:55:00 +0000 (16:55 +1100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 2 Dec 2015 17:23:43 +0000 (18:23 +0100)
commit8f2c5e281da6f750e76958a000e769023aa0a5a7
tree141bf802832e3a7c5955be322fa280163bce70be
parent09f74e6ef45859a3b595e2932e2be3e7d7ab6ca0
gallium/util: Fix util_blitter_clear_render_target() for num_layers>1

Previously util_blitter_clear_render_target() could not clear more
than the first layer. We need to generalise this so that
ARB_clear_texture can pass the 3d piglit test.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_blitter.c