cell: fix TGSI breakage
authorBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 16:23:37 +0000 (09:23 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 2 Dec 2009 16:23:37 +0000 (09:23 -0700)
src/gallium/drivers/cell/ppu/cell_gen_fp.c

index 4d43f65d29c4e841e1ed22bd4b6e6bdefa7e5b2f..1895a7940c41a8bf308d526deaf0f32478e86047 100644 (file)
@@ -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;