diff options
author | Chad Versace <[email protected]> | 2011-11-16 22:26:38 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-11-21 16:58:38 -0800 |
commit | 278e77a1192d5251c5b70a555e676f72b446e8e1 (patch) | |
tree | 92c87ad8cbca2a3b1ad2bd3bef15b3d2abec61a5 /src/glu/sgi | |
parent | c2ddde70daece24d1eb7185946032158993a9e4d (diff) |
intel: Refactor intel_miptree_copy_teximage()
Extract the body of the inner loop into a new function,
intel_miptree_copy_slice().
This is in preparation for adding support for separate stencil and HiZ to
intel_miptree_copy_teximage(). When copying a slice of a depthstencil
miptree that uses separate stencil, we will also need to copy the
corresponding slice of the stencil miptree. The easiest way to do this
will be to call intel_miptree_copy_slice() recursively. Analogous
reasoning applies to copying a slice of a depth miptree with HiZ.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/glu/sgi')
0 files changed, 0 insertions, 0 deletions