Mesa (mesa_7_6_branch): cell: fix compilation on cell

Brian Paul brianp at kemper.freedesktop.org
Tue Oct 20 17:17:44 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 4b2cf92ad9caa384869371534c1f2154625a755a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b2cf92ad9caa384869371534c1f2154625a755a

Author: Marc Dietrich <marvin24 at gmx.de>
Date:   Sun Oct 18 08:28:34 2009 -0700

cell: fix compilation on cell

s/LERP/LRP/

---

 src/gallium/drivers/cell/ppu/cell_gen_fp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/cell/ppu/cell_gen_fp.c b/src/gallium/drivers/cell/ppu/cell_gen_fp.c
index 312621f..b6b2f88 100644
--- a/src/gallium/drivers/cell/ppu/cell_gen_fp.c
+++ b/src/gallium/drivers/cell/ppu/cell_gen_fp.c
@@ -674,7 +674,7 @@ emit_MAD(struct codegen *gen, const struct tgsi_full_instruction *inst)
  * Emit linear interpolate.  See emit_ADD for comments.
  */
 static boolean
-emit_LERP(struct codegen *gen, const struct tgsi_full_instruction *inst)
+emit_LRP(struct codegen *gen, const struct tgsi_full_instruction *inst)
 {
    int ch, s1_reg[4], s2_reg[4], s3_reg[4], d_reg[4], tmp_reg[4];
 
@@ -1766,7 +1766,7 @@ emit_instruction(struct codegen *gen,
       return emit_binop(gen, inst);
    case TGSI_OPCODE_MAD:
       return emit_MAD(gen, inst);
-   case TGSI_OPCODE_LERP:
+   case TGSI_OPCODE_LRP:
       return emit_LRP(gen, inst);
    case TGSI_OPCODE_DP3:
       return emit_DP3(gen, inst);




More information about the mesa-commit mailing list