Mesa (master): i915g: Add a debug_printf when we get the Abs flag.

Stephane Marchesin marcheu at kemper.freedesktop.org
Tue Jun 28 09:15:04 UTC 2011


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

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Tue Jun 28 02:14:43 2011 -0700

i915g: Add a debug_printf when we get the Abs flag.

---

 src/gallium/drivers/i915/i915_fpc_translate.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c
index b1e0f6a..41c94e6 100644
--- a/src/gallium/drivers/i915/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915/i915_fpc_translate.c
@@ -272,6 +272,9 @@ src_vector(struct i915_fp_compile *p,
    /* XXX enable these assertions, or fix things */
    assert(!source->Register.Absolute);
 #endif
+   if (source->Register.Absolute)
+      debug_printf("Exceeded max generics\n");
+
    return src;
 }
 




More information about the mesa-commit mailing list