From e7044d552c6d16389447880b8744a51de1cf0199 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Fri, 4 Jan 2008 17:11:39 +0800 Subject: [PATCH] i915: don't validate PS program when falling back to software rendering. fix #12786 --- src/mesa/drivers/dri/i915/i915_vtbl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2