i965: Fix tiling for FBO depth attachments by making DEPTH_COMPONENT Y tiled.
authorEric Anholt <eric@anholt.net>
Fri, 12 Jun 2009 15:44:40 +0000 (08:44 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 03:19:19 +0000 (20:19 -0700)
commitbd10f0e84f1491363d76d92dcbd410ab5cc43dbe
tree5ffeada7cd79fc5f507e4e6ab1779d3fa8058f27
parentb165fa7d45e230f9e61fcf3a09babf0c61c67319
i965: Fix tiling for FBO depth attachments by making DEPTH_COMPONENT Y tiled.

This may hurt if miptree relayout occurs, since we can't blit Y tiled
objects.  But it corrects depth tests on FBOs using textures.
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_regions.c