diff options
author | Michal Krol <michal@tungstengraphics.com> | 2008-08-13 11:13:46 +0200 |
---|---|---|
committer | Michal Krol <michal@tungstengraphics.com> | 2008-08-13 11:13:46 +0200 |
commit | db38708c43d7e9bbc744893ad2e9c2a77e9ec15c (patch) | |
tree | ae1227d6af06fb33f9ce01f3bf0fcc3975979178 /src | |
parent | e8e75c8c865bb5bbff9db2682b130c8d147f3a38 (diff) |
i915: Swap meanings of KIL and KILP.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_fpc_translate.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/gallium/drivers/i915simple/i915_fpc_translate.c b/src/gallium/drivers/i915simple/i915_fpc_translate.c index 04507ab8ad..64432982c4 100644 --- a/src/gallium/drivers/i915simple/i915_fpc_translate.c +++ b/src/gallium/drivers/i915simple/i915_fpc_translate.c @@ -560,18 +560,6 @@ i915_translate_instruction(struct i915_fp_compile *p, break; case TGSI_OPCODE_KIL: - /* unconditional kill */ - assert(0); /* not tested yet */ -#if 0 - src0 = src_vector(p, &inst->FullSrcRegisters[0]); - tmp = i915_get_utemp(p); - - i915_emit_texld(p, tmp, A0_DEST_CHANNEL_ALL, /* use a dummy dest reg */ - 0, src0, T0_TEXKILL); -#endif - break; - - case TGSI_OPCODE_KILP: /* kill if src[0].x < 0 || src[0].y < 0 ... */ src0 = src_vector(p, &inst->FullSrcRegisters[0]); tmp = i915_get_utemp(p); @@ -584,6 +572,10 @@ i915_translate_instruction(struct i915_fp_compile *p, T0_TEXKILL); /* opcode */ break; + case TGSI_OPCODE_KILP: + assert(0); /* not tested yet */ + break; + case TGSI_OPCODE_LG2: src0 = src_vector(p, &inst->FullSrcRegisters[0]); |