summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/tgsi_dump_c.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-24 14:53:29 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-24 14:53:29 +0000
commit763426a0256f0ab06f8af53947bd630f8600183a (patch)
tree3454ff8bc5047a826dcb183575160afae2d37b80 /src/gallium/auxiliary/tgsi/tgsi_dump_c.c
parent42ae0030696f027050c41babced2b408997bb0ce (diff)
tgsi: reduce repetition of structure name in its members
Rename Semantic.SemanticName to Semantic.Name. Similar for SemanticIndex, and the members of the tgsi_version struct.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump_c.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_dump_c.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump_c.c b/src/gallium/auxiliary/tgsi/tgsi_dump_c.c
index 4648051e29..11d28b1653 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_dump_c.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_dump_c.c
@@ -229,10 +229,10 @@ dump_declaration_verbose(
if( decl->Declaration.Semantic ) {
EOL();
- TXT( "\nSemanticName : " );
- ENM( decl->Semantic.SemanticName, TGSI_SEMANTICS );
- TXT( "\nSemanticIndex: " );
- UID( decl->Semantic.SemanticIndex );
+ TXT( "\nName : " );
+ ENM( decl->Semantic.Name, TGSI_SEMANTICS );
+ TXT( "\nIndex: " );
+ UID( decl->Semantic.Index );
if( ignored ) {
TXT( "\nPadding : " );
UIX( decl->Semantic.Padding );
@@ -485,10 +485,10 @@ tgsi_dump_c(
TXT( "tgsi-dump begin -----------------" );
- TXT( "\nMajorVersion: " );
- UID( parse.FullVersion.Version.MajorVersion );
- TXT( "\nMinorVersion: " );
- UID( parse.FullVersion.Version.MinorVersion );
+ TXT( "\nMajor: " );
+ UID( parse.FullVersion.Version.Major );
+ TXT( "\nMinor: " );
+ UID( parse.FullVersion.Version.Minor );
EOL();
TXT( "\nHeaderSize: " );