diff options
author | Chad Versace <[email protected]> | 2013-04-08 19:27:36 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-04-08 16:15:06 -0700 |
commit | f709198b10821e6fb4d1facff651e70850946bcb (patch) | |
tree | 25733cfc94e10f0a77baa7d4193f75cccd2bf81a /src/mesa/swrast/s_depth.h | |
parent | aa391976dfa12479185d9eeed1f2a0b4dce6c49b (diff) |
intel: Refactor selection of miptree tiling
This patch (1) extracts from intel_miptree_create() the spaghetti logic
that selects the tiling format, (2) rewrites that spaghetti into a lucid
form, and (3) moves it to a new function, intel_miptree_choose_tiling().
No behavioral change.
As a bonus, it is now evident that the force_y_tiling parameter to
intel_miptree_create() does not really force Y tiling.
v2 (Ken): Rebase on top of Eric's untiled-for-larger-than-aperture
changes. This required passing in the miptree.
Signed-off-by: Chad Versace <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_depth.h')
0 files changed, 0 insertions, 0 deletions