Lines Matching refs:SrcReg
159 if (inst->SrcReg[i].Base.RelAddr) { in _mesa_layout_parameters()
162 if (!inst->SrcReg[i].Symbol->pass1_done) { in _mesa_layout_parameters()
165 inst->SrcReg[i].Symbol->param_binding_begin, in _mesa_layout_parameters()
166 inst->SrcReg[i].Symbol->param_binding_length); in _mesa_layout_parameters()
173 inst->SrcReg[i].Symbol->param_binding_begin = new_begin; in _mesa_layout_parameters()
174 inst->SrcReg[i].Symbol->pass1_done = 1; in _mesa_layout_parameters()
181 inst->Base.SrcReg[i] = inst->SrcReg[i].Base; in _mesa_layout_parameters()
182 inst->Base.SrcReg[i].Index += in _mesa_layout_parameters()
183 inst->SrcReg[i].Symbol->param_binding_begin; in _mesa_layout_parameters()
193 const int idx = inst->SrcReg[i].Base.Index; in _mesa_layout_parameters()
198 if (inst->SrcReg[i].Base.RelAddr || in _mesa_layout_parameters()
199 inst->SrcReg[i].Base.File <= PROGRAM_OUTPUT || in _mesa_layout_parameters()
200 inst->SrcReg[i].Base.File >= PROGRAM_WRITE_ONLY || in _mesa_layout_parameters()
204 inst->Base.SrcReg[i] = inst->SrcReg[i].Base; in _mesa_layout_parameters()
210 inst->Base.SrcReg[i].Index = in _mesa_layout_parameters()
213 inst->Base.SrcReg[i].Swizzle = in _mesa_layout_parameters()
214 _mesa_combine_swizzles(swizzle, inst->Base.SrcReg[i].Swizzle); in _mesa_layout_parameters()
216 inst->SrcReg[i].Base.File = p->Type; in _mesa_layout_parameters()
217 inst->Base.SrcReg[i].File = p->Type; in _mesa_layout_parameters()
231 const int idx = inst->SrcReg[i].Base.Index; in _mesa_layout_parameters()
235 if (inst->SrcReg[i].Base.RelAddr || in _mesa_layout_parameters()
236 inst->SrcReg[i].Base.File <= PROGRAM_OUTPUT || in _mesa_layout_parameters()
237 inst->SrcReg[i].Base.File >= PROGRAM_WRITE_ONLY || in _mesa_layout_parameters()
268 const int idx = inst->SrcReg[i].Base.Index; in _mesa_layout_parameters()
272 if (inst->SrcReg[i].Base.RelAddr || in _mesa_layout_parameters()
273 inst->SrcReg[i].Base.File <= PROGRAM_OUTPUT || in _mesa_layout_parameters()
274 inst->SrcReg[i].Base.File >= PROGRAM_WRITE_ONLY || in _mesa_layout_parameters()
278 inst->Base.SrcReg[i] = inst->SrcReg[i].Base; in _mesa_layout_parameters()
280 inst->Base.SrcReg[i].Index = in _mesa_layout_parameters()
283 inst->SrcReg[i].Base.File = p->Type; in _mesa_layout_parameters()
284 inst->Base.SrcReg[i].File = p->Type; in _mesa_layout_parameters()