summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-08-13 17:20:04 +0100
committerKeith Whitwell <keithw@vmware.com>2009-08-13 17:32:25 +0100
commitb56d2ba7b2e685e8c551788577b382480e77025a (patch)
tree13bb8fb7e2342201642f541eb3ebf65deace3871 /src
parent5c5364a0f6ebcc0ff30baffdb6195be9f4ad7f83 (diff)
tgsi: rename ureg src/dest converters
Also fix a typo in ureg_src().
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index fecfa8159e..ad7cd8e69c 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
@@ -396,7 +396,7 @@ ureg_saturate( struct ureg_dst reg )
}
static INLINE struct ureg_dst
-ureg_from_src( struct ureg_src src )
+ureg_dst( struct ureg_src src )
{
struct ureg_dst dst;
@@ -412,7 +412,7 @@ ureg_from_src( struct ureg_src src )
}
static INLINE struct ureg_src
-ureg_from_dst( struct ureg_dst dst )
+ureg_src( struct ureg_dst dst )
{
struct ureg_src src;
@@ -424,7 +424,7 @@ ureg_from_dst( struct ureg_dst dst )
src.Pad = 0;
src.Indirect = dst.Indirect;
src.Absolute = 0;
- src.Index = src.Index;
+ src.Index = dst.Index;
src.Negate = 0;
return src;