From 0e57b66fa1d7f4317f20571f19fd2ceb3593f04f Mon Sep 17 00:00:00 2001 From: Stéphane Marchesin Date: Fri, 30 Dec 2011 01:33:26 -0800 Subject: 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 file changed, 2 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3