summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/tgsi_parse.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-24 15:08:55 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-24 15:08:55 +0000
commit5b0824dfe5eaf59fa87134e7482b3d147b262901 (patch)
tree442806a49e0963fe711bb681516fcf5c5c68a008 /src/gallium/auxiliary/tgsi/tgsi_parse.c
parentfe2b31e4a896167a33d267822b36eb2de0ceecba (diff)
tgsi: rename fields of tgsi_full_dst_register to reduce verbosity
DstRegister -> Register DstRegisterInd -> Indirect
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_parse.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_parse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_parse.c b/src/gallium/auxiliary/tgsi/tgsi_parse.c
index 7946fdd732..e3a6bc0f54 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_parse.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_parse.c
@@ -168,21 +168,21 @@ tgsi_parse_token(
for( i = 0; i < inst->Instruction.NumDstRegs; i++ ) {
- next_token( ctx, &inst->Dst[i].DstRegister );
+ next_token( ctx, &inst->Dst[i].Register );
/*
* No support for indirect or multi-dimensional addressing.
*/
- assert( !inst->Dst[i].DstRegister.Dimension );
+ assert( !inst->Dst[i].Register.Dimension );
- if( inst->Dst[i].DstRegister.Indirect ) {
- next_token( ctx, &inst->Dst[i].DstRegisterInd );
+ if( inst->Dst[i].Register.Indirect ) {
+ next_token( ctx, &inst->Dst[i].Indirect );
/*
* No support for indirect or multi-dimensional addressing.
*/
- assert( !inst->Dst[i].DstRegisterInd.Dimension );
- assert( !inst->Dst[i].DstRegisterInd.Indirect );
+ assert( !inst->Dst[i].Indirect.Dimension );
+ assert( !inst->Dst[i].Indirect.Indirect );
}
}