Mesa (master): cell: fix TGSI breakage

Brian Paul brianp at kemper.freedesktop.org
Wed Dec 2 08:32:26 PST 2009


Module: Mesa
Branch: master
Commit: 429bf7541777de08e070df3920b8566e3ac78223
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=429bf7541777de08e070df3920b8566e3ac78223

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec  2 09:23:37 2009 -0700

cell: fix TGSI breakage

---

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

diff --git a/src/gallium/drivers/cell/ppu/cell_gen_fp.c b/src/gallium/drivers/cell/ppu/cell_gen_fp.c
index 4d43f65..1895a79 100644
--- a/src/gallium/drivers/cell/ppu/cell_gen_fp.c
+++ b/src/gallium/drivers/cell/ppu/cell_gen_fp.c
@@ -1351,7 +1351,7 @@ emit_function_call(struct codegen *gen,
 static boolean
 emit_TEX(struct codegen *gen, const struct tgsi_full_instruction *inst)
 {
-   const uint target = inst->InstructionExtTexture.Texture;
+   const uint target = inst->Texture.Texture;
    const uint unit = inst->Src[1].Register.Index;
    uint addr;
    int ch;



More information about the mesa-commit mailing list