projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c5364a
)
tgsi: rename ureg src/dest converters
author
Keith Whitwell
<keithw@vmware.com>
Thu, 13 Aug 2009 16:20:04 +0000
(17:20 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Thu, 13 Aug 2009 16:32:25 +0000
(17:32 +0100)
Also fix a typo in ureg_src().
src/gallium/auxiliary/tgsi/tgsi_ureg.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index fecfa8159ecf4ff5a56afe59f715ce950a531ca9..ad7cd8e69c009940d72871c7ac79e9abcaabf7a7 100644
(file)
--- 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;