summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-07-23 17:52:56 +0200
committerMichal Krol <[email protected]>2008-07-23 17:53:50 +0200
commit0aa0141e0cd7b5231140805b1cda821bb3d32a86 (patch)
tree877c5059ba1866d64873914b8bfc2f47e3c64b46 /src
parent818cd9dca2861dfb9d8f2d36ff141c55472df2ba (diff)
tgsi: Fix tgsi_util_get_full_src_register_extswizzle().
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_util.c b/src/gallium/auxiliary/tgsi/util/tgsi_util.c
index 10762b6c1a0..09486e649e1 100644
--- a/src/gallium/auxiliary/tgsi/util/tgsi_util.c
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_util.c
@@ -119,7 +119,7 @@ tgsi_util_get_full_src_register_extswizzle(
if( swizzle <= TGSI_SWIZZLE_W ) {
swizzle = tgsi_util_get_src_register_swizzle(
&reg->SrcRegister,
- component );
+ swizzle );
}
return swizzle;