summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2011-12-30 01:33:26 -0800
committerStéphane Marchesin <marcheu@chromium.org>2011-12-30 01:33:26 -0800
commit0e57b66fa1d7f4317f20571f19fd2ceb3593f04f (patch)
tree884b3e58b7522ee7b32fc8627900794e655f6118 /src/gallium
parentefa1fac2158c9146b87f0d4340a864661721de21 (diff)
i915g: Allocate tmp for KILP
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=44297
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/i915/i915_fpc_translate.c2
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 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 */