summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/vl/vl_shader_build.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/vl/vl_shader_build.c
parentfe2b31e4a896167a33d267822b36eb2de0ceecba (diff)
tgsi: rename fields of tgsi_full_dst_register to reduce verbosity
DstRegister -> Register DstRegisterInd -> Indirect
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_shader_build.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_shader_build.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/vl/vl_shader_build.c b/src/gallium/auxiliary/vl/vl_shader_build.c
index 548dfca05a..9ebb4a9171 100644
--- a/src/gallium/auxiliary/vl/vl_shader_build.c
+++ b/src/gallium/auxiliary/vl/vl_shader_build.c
@@ -138,8 +138,8 @@ struct tgsi_full_instruction vl_inst2
inst.Instruction.Opcode = opcode;
inst.Instruction.NumDstRegs = 1;
- inst.Dst[0].DstRegister.File = dst_file;
- inst.Dst[0].DstRegister.Index = dst_index;
+ 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;
@@ -162,8 +162,8 @@ struct tgsi_full_instruction vl_inst3
inst.Instruction.Opcode = opcode;
inst.Instruction.NumDstRegs = 1;
- inst.Dst[0].DstRegister.File = dst_file;
- inst.Dst[0].DstRegister.Index = dst_index;
+ 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;
@@ -188,8 +188,8 @@ struct tgsi_full_instruction vl_tex
inst.Instruction.Opcode = TGSI_OPCODE_TEX;
inst.Instruction.NumDstRegs = 1;
- inst.Dst[0].DstRegister.File = dst_file;
- inst.Dst[0].DstRegister.Index = dst_index;
+ inst.Dst[0].Register.File = dst_file;
+ inst.Dst[0].Register.Index = dst_index;
inst.Instruction.NumSrcRegs = 2;
inst.Instruction.Texture = 1;
inst.Texture.Texture = tex;
@@ -218,8 +218,8 @@ struct tgsi_full_instruction vl_inst4
inst.Instruction.Opcode = opcode;
inst.Instruction.NumDstRegs = 1;
- inst.Dst[0].DstRegister.File = dst_file;
- inst.Dst[0].DstRegister.Index = dst_index;
+ 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;