Revert "i915: don't validate PS program when falling back to software"
authorEric Anholt <eric@anholt.net>
Thu, 30 Jul 2009 05:46:14 +0000 (22:46 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 1 Oct 2009 21:31:03 +0000 (14:31 -0700)
This reverts commit e7044d552c6d16389447880b8744a51de1cf0199.  It
prevented the driver from ever recovering from a software fallback due
to a program error.  The original bug it claimed to fix doesn't appear to
exist post-revert.

src/mesa/drivers/dri/i915/i915_vtbl.c

index 9a723d3cd739733ab3722907716394be0c4a6206..9e2523932f153c7b34cb7483c2742b7e76346ed2 100644 (file)
@@ -54,8 +54,7 @@ i915_render_prevalidate(struct intel_context *intel)
 {
    struct i915_context *i915 = i915_context(&intel->ctx);
 
-   if (!intel->Fallback)
-       i915ValidateFragmentProgram(i915);
+   i915ValidateFragmentProgram(i915);
 }
 
 static void