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

Previously util_blitter_clear_depth_stencil() could not clear more
than the first layer. We need to generalise this as we did for
util_blitter_clear_render_target().

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