Mesa (master): Revert "i915: don' t validate PS program when falling back to software"

Eric Anholt anholt at kemper.freedesktop.org
Thu Oct 1 22:08:05 UTC 2009


Module: Mesa
Branch: master
Commit: d6fbf87575a59e24c5d47b8b6b8700ee4583709b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6fbf87575a59e24c5d47b8b6b8700ee4583709b

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jul 29 22:46:14 2009 -0700

Revert "i915: don't validate PS program when falling back to software"

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 |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/i915_vtbl.c b/src/mesa/drivers/dri/i915/i915_vtbl.c
index 9a723d3..9e25239 100644
--- a/src/mesa/drivers/dri/i915/i915_vtbl.c
+++ b/src/mesa/drivers/dri/i915/i915_vtbl.c
@@ -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




More information about the mesa-commit mailing list