diff options
author | Roland Scheidegger <[email protected]> | 2013-02-19 04:19:07 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-02-20 19:37:30 +0100 |
commit | 95181ed2fdf1c3accb4b34daaea89c2dd509f87d (patch) | |
tree | f31a8d3c9e761a7709a9dea93b97bfc5277f1c62 /src/gallium/drivers/llvmpipe/lp_flush.c | |
parent | 413941e1a3155b29a190ab7ecfd844b1a5c2e460 (diff) |
llvmpipe: fix lp_resource_copy using more than one 3d slice
These used to be illegal a very long time ago, then for some more time
nothing really emitted these so this code path wasn't hit.
Just trivially iterate over box->depth.
(Might be worth refactoring at some point since nowadays all the code
doesn't really do much except for depth textures.)
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=61093
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_flush.c')
0 files changed, 0 insertions, 0 deletions