From: Stéphane Marchesin Date: Fri, 30 Dec 2011 09:33:26 +0000 (-0800) Subject: i915g: Allocate tmp for KILP X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e57b66fa1d7f4317f20571f19fd2ceb3593f04f;p=mesa.git i915g: Allocate tmp for KILP This fixes https://bugs.freedesktop.org/show_bug.cgi?id=44297 --- diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c index beb0e0d6390..5bfbfa0fa05 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 */