i915: fallback for cube map texture.
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 11 Dec 2008 06:03:00 +0000 (14:03 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 11 Dec 2008 06:03:00 +0000 (14:03 +0800)
commitc8b505d8260cccf289c947c629471df8f5c81c0d
tree54554a2f1f5a4b88e5a228d6dbcbd429f068b709
parent3b9bc821e1dfe39905585746166183264c335416
i915: fallback for cube map texture.

The i915 (and related graphics cores) only support TEXCOORDMODE_CLAMP and
TEXCOORDMODE_CUBE when using cube map texture coordinates, so fall back to
software rendering for other modes to avoid potential gpu hang issue. This
fixes scorched3d issue on 945GM(see bug 14539).
src/mesa/drivers/dri/i915/i915_texstate.c