summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/tgsi_parse.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-24 15:13:17 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-24 15:13:17 +0000
commit91a4e6d53f83c45c1da9240b6325011d96b61386 (patch)
tree653bd1c24a0a540a259a1ed7d817179e3a162f87 /src/gallium/auxiliary/tgsi/tgsi_parse.c
parent5b0824dfe5eaf59fa87134e7482b3d147b262901 (diff)
tgsi: rename fields of tgsi_full_src_register to reduce verbosity
SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_parse.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_parse.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_parse.c b/src/gallium/auxiliary/tgsi/tgsi_parse.c
index e3a6bc0f54..4b252915c9 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_parse.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_parse.c
@@ -190,34 +190,34 @@ tgsi_parse_token(
for( i = 0; i < inst->Instruction.NumSrcRegs; i++ ) {
- next_token( ctx, &inst->Src[i].SrcRegister );
+ next_token( ctx, &inst->Src[i].Register );
- if( inst->Src[i].SrcRegister.Indirect ) {
- next_token( ctx, &inst->Src[i].SrcRegisterInd );
+ if( inst->Src[i].Register.Indirect ) {
+ next_token( ctx, &inst->Src[i].Indirect );
/*
* No support for indirect or multi-dimensional addressing.
*/
- assert( !inst->Src[i].SrcRegisterInd.Indirect );
- assert( !inst->Src[i].SrcRegisterInd.Dimension );
+ assert( !inst->Src[i].Indirect.Indirect );
+ assert( !inst->Src[i].Indirect.Dimension );
}
- if( inst->Src[i].SrcRegister.Dimension ) {
- next_token( ctx, &inst->Src[i].SrcRegisterDim );
+ if( inst->Src[i].Register.Dimension ) {
+ next_token( ctx, &inst->Src[i].Dimension );
/*
* No support for multi-dimensional addressing.
*/
- assert( !inst->Src[i].SrcRegisterDim.Dimension );
+ assert( !inst->Src[i].Dimension.Dimension );
- if( inst->Src[i].SrcRegisterDim.Indirect ) {
- next_token( ctx, &inst->Src[i].SrcRegisterDimInd );
+ if( inst->Src[i].Dimension.Indirect ) {
+ next_token( ctx, &inst->Src[i].DimIndirect );
/*
* No support for indirect or multi-dimensional addressing.
*/
- assert( !inst->Src[i].SrcRegisterInd.Indirect );
- assert( !inst->Src[i].SrcRegisterInd.Dimension );
+ assert( !inst->Src[i].Indirect.Indirect );
+ assert( !inst->Src[i].Indirect.Dimension );
}
}
}