aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_shader_build.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-24 15:13:17 +0000
committerKeith Whitwell <[email protected]>2009-11-24 15:13:17 +0000
commit91a4e6d53f83c45c1da9240b6325011d96b61386 (patch)
tree653bd1c24a0a540a259a1ed7d817179e3a162f87 /src/gallium/auxiliary/vl/vl_shader_build.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/vl/vl_shader_build.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_shader_build.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gallium/auxiliary/vl/vl_shader_build.c b/src/gallium/auxiliary/vl/vl_shader_build.c
index 9ebb4a9171a..d011ef97bd6 100644
--- a/src/gallium/auxiliary/vl/vl_shader_build.c
+++ b/src/gallium/auxiliary/vl/vl_shader_build.c
@@ -141,8 +141,8 @@ struct tgsi_full_instruction vl_inst2
inst.Dst[0].Register.File = dst_file;
inst.Dst[0].Register.Index = dst_index;
inst.Instruction.NumSrcRegs = 1;
- inst.Src[0].SrcRegister.File = src_file;
- inst.Src[0].SrcRegister.Index = src_index;
+ inst.Src[0].Register.File = src_file;
+ inst.Src[0].Register.Index = src_index;
return inst;
}
@@ -165,10 +165,10 @@ struct tgsi_full_instruction vl_inst3
inst.Dst[0].Register.File = dst_file;
inst.Dst[0].Register.Index = dst_index;
inst.Instruction.NumSrcRegs = 2;
- inst.Src[0].SrcRegister.File = src1_file;
- inst.Src[0].SrcRegister.Index = src1_index;
- inst.Src[1].SrcRegister.File = src2_file;
- inst.Src[1].SrcRegister.Index = src2_index;
+ inst.Src[0].Register.File = src1_file;
+ inst.Src[0].Register.Index = src1_index;
+ inst.Src[1].Register.File = src2_file;
+ inst.Src[1].Register.Index = src2_index;
return inst;
}
@@ -193,10 +193,10 @@ struct tgsi_full_instruction vl_tex
inst.Instruction.NumSrcRegs = 2;
inst.Instruction.Texture = 1;
inst.Texture.Texture = tex;
- inst.Src[0].SrcRegister.File = src1_file;
- inst.Src[0].SrcRegister.Index = src1_index;
- inst.Src[1].SrcRegister.File = src2_file;
- inst.Src[1].SrcRegister.Index = src2_index;
+ inst.Src[0].Register.File = src1_file;
+ inst.Src[0].Register.Index = src1_index;
+ inst.Src[1].Register.File = src2_file;
+ inst.Src[1].Register.Index = src2_index;
return inst;
}
@@ -221,12 +221,12 @@ struct tgsi_full_instruction vl_inst4
inst.Dst[0].Register.File = dst_file;
inst.Dst[0].Register.Index = dst_index;
inst.Instruction.NumSrcRegs = 3;
- inst.Src[0].SrcRegister.File = src1_file;
- inst.Src[0].SrcRegister.Index = src1_index;
- inst.Src[1].SrcRegister.File = src2_file;
- inst.Src[1].SrcRegister.Index = src2_index;
- inst.Src[2].SrcRegister.File = src3_file;
- inst.Src[2].SrcRegister.Index = src3_index;
+ inst.Src[0].Register.File = src1_file;
+ inst.Src[0].Register.Index = src1_index;
+ inst.Src[1].Register.File = src2_file;
+ inst.Src[1].Register.Index = src2_index;
+ inst.Src[2].Register.File = src3_file;
+ inst.Src[2].Register.Index = src3_index;
return inst;
}