Mesa (master): i915: Fix complete texturing regression since 27505a105a

Eric Anholt anholt at kemper.freedesktop.org
Wed Nov 23 17:45:34 UTC 2011


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Nov 22 19:29:56 2011 -0800

i915: Fix complete texturing regression since 27505a105a

I had notes to myself to test gen3 and gen4, and then I tested gen4
and called it good.  Turns out I forgot to actually call the new
function on gen3.

---

 src/mesa/drivers/dri/i915/i915_context.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c
index c5e589d..36563ef 100644
--- a/src/mesa/drivers/dri/i915/i915_context.c
+++ b/src/mesa/drivers/dri/i915/i915_context.c
@@ -164,6 +164,8 @@ i915CreateContext(int api,
       return false;
    }
 
+   intel_init_texture_formats(ctx);
+
    _math_matrix_ctr(&intel->ViewportMatrix);
 
    /* Initialize swrast, tnl driver tables: */




More information about the mesa-commit mailing list