summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-10-23 01:05:23 -0400
committerZack Rusin <zackr@vmware.com>2009-10-23 11:11:00 -0400
commitbec5230a1ff3998d0f184fc2b7437b51082c329f (patch)
tree1fc3f5f2a085b365ecb6991b0ab97351f2530a4f /src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
parentd4d4733e6c312f2a8e9977b06fc554904407c456 (diff)
st/xorg: lots of fixes related to compositing
fixes transformations, rendering with multiple bound textures, xrender matrix conversions plus some cleanups
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa_tgsi.c')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa_tgsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
index 041f4f96dc..abb00824eb 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
+++ b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
@@ -62,7 +62,7 @@ src_in_mask(struct ureg_program *ureg,
}
else {
ureg_MUL(ureg, dst, src,
- ureg_scalar(mask, TGSI_SWIZZLE_W));
+ ureg_scalar(mask, TGSI_SWIZZLE_X));
}
}