OSDN Git Service

intel: Remove the texture_tiling driconf option.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Apr 2013 02:39:20 +0000 (19:39 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Apr 2013 23:15:07 +0000 (16:15 -0700)
commitb76539aabea6a910e15d2c626901c7b208868f0c
tree67227a0de66943f4daaf329de750cb99252a30fb
parent55ecc448b9d05e9f1e5ceb88ab35606e80e3adee
intel: Remove the texture_tiling driconf option.

This option can force textures to be untiled.  However, on Gen6+, depth
buffers must be Y-tiled.  MSAA buffers also must be Y-tiled.  So setting
this option on even a trivial application like glxgears causes assertion
failures in a debug build, and likely GPU hangs in a release build.

It's just giving users a license to shoot themselves in the foot.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_screen.c