From: Xiang, Haihao Date: Fri, 4 Jan 2008 09:11:39 +0000 (+0800) Subject: i915: don't validate PS program when falling back to software X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7044d552c6d16389447880b8744a51de1cf0199;p=mesa.git i915: don't validate PS program when falling back to software rendering. fix #12786 --- diff --git a/src/mesa/drivers/dri/i915/i915_vtbl.c b/src/mesa/drivers/dri/i915/i915_vtbl.c index 58f681f74b7..1de518ace1c 100644 --- a/src/mesa/drivers/dri/i915/i915_vtbl.c +++ b/src/mesa/drivers/dri/i915/i915_vtbl.c @@ -48,7 +48,8 @@ i915_render_prevalidate(struct intel_context *intel) { struct i915_context *i915 = i915_context(&intel->ctx); - i915ValidateFragmentProgram(i915); + if (!intel->Fallback) + i915ValidateFragmentProgram(i915); } static void