summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_depth.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2013-04-08 19:27:36 -0700
committerKenneth Graunke <[email protected]>2013-04-08 16:15:06 -0700
commitf709198b10821e6fb4d1facff651e70850946bcb (patch)
tree25733cfc94e10f0a77baa7d4193f75cccd2bf81a /src/mesa/swrast/s_depth.h
parentaa391976dfa12479185d9eeed1f2a0b4dce6c49b (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