summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2008-01-04 17:11:39 +0800
committerXiang, Haihao <[email protected]>2008-01-04 17:11:39 +0800
commite7044d552c6d16389447880b8744a51de1cf0199 (patch)
tree0e7422e68db7a938ee8683119aa5cb84058990b6 /src
parent15356376bdee4aa4c5d57b61496cadd5ac19ce60 (diff)
i915: don't validate PS program when falling back to software
rendering. fix #12786
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/i915_vtbl.c3
1 files changed, 2 insertions, 1 deletions
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