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

Author: Stéphane Marchesin <marc...@chromium.org>
Date:   Fri Dec 30 01:33:26 2011 -0800

i915g: Allocate tmp for KILP

This fixes https://bugs.freedesktop.org/show_bug.cgi?id=44297

---

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

diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c 
b/src/gallium/drivers/i915/i915_fpc_translate.c
index beb0e0d..5bfbfa0 100644
--- a/src/gallium/drivers/i915/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915/i915_fpc_translate.c
@@ -658,6 +658,8 @@ i915_translate_instruction(struct i915_fp_compile *p,
       /* We emit an unconditional kill; we may want to revisit
        * if we ever implement conditionals.
        */
+      tmp = i915_get_utemp(p);
+
       i915_emit_texld(p,
                       tmp,                                   /* dest reg: a 
dummy reg */
                       A0_DEST_CHANNEL_ALL,                   /* dest writemask 
*/

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to