gallivm: Fix address register swizzle.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 16 Sep 2010 08:52:20 +0000 (09:52 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 16 Sep 2010 19:20:49 +0000 (20:20 +0100)
commit3d5b9c1f2d3340259dd0d8765090a5a963074f29
treef45fc7d7a17d0befd26460a1b854200ab961a448
parent50ac56bf98d6fd16fd1b7534268ee362e45b691d
gallivm: Fix address register swizzle.

We're actually doing a double swizzling:

  indirect_reg->Swizzle[indirect_reg->SwizzleX]

instead of simply

  indirect_reg->SwizzleX
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c