Use the tiled flag in the sarea to determine region tiling.
authorHaihao Xiang <haihao.xiang@intel.com>
Sat, 30 Dec 2006 18:30:42 +0000 (10:30 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 30 Dec 2006 18:30:42 +0000 (10:30 -0800)
commit3943d7f8b12370dd77dda66e70aa8f1fcd217f9f
tree9a0ebf8a6fc82854b84866b296d860b15306c82a
parent8c180c72d5fed5f26f258759f9649fc647a764ff
Use the tiled flag in the sarea to determine region tiling.

This fixes mis-rendering if back/depth fail to get set up as tiled.  While it
probably won't ever be the case now that the pitch limits are loosened, this is
still the right thing to do.
src/mesa/drivers/dri/i965/intel_context.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.h