• Home
  • Raw
  • Download

Lines Matching refs:pctx

200    struct pstip_transform_context *pctx =  in pstip_transform_decl()  local
208 pctx->samplersUsed |= 1 << i; in pstip_transform_decl()
212 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl()
214 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl()
219 pctx->tempsUsed |= (1 << i); in pstip_transform_decl()
231 struct pstip_transform_context *pctx = in pstip_transform_immed() local
233 pctx->numImmed++; in pstip_transform_immed()
264 struct pstip_transform_context *pctx = in pstip_transform_inst() local
267 if (pctx->firstInstruction) { in pstip_transform_inst()
276 pctx->freeSampler = free_bit(pctx->samplersUsed); in pstip_transform_inst()
277 if (pctx->freeSampler >= PIPE_MAX_SAMPLERS) in pstip_transform_inst()
278 pctx->freeSampler = PIPE_MAX_SAMPLERS - 1; in pstip_transform_inst()
280 if (pctx->wincoordInput < 0) in pstip_transform_inst()
281 wincoordInput = pctx->maxInput + 1; in pstip_transform_inst()
283 wincoordInput = pctx->wincoordInput; in pstip_transform_inst()
287 if ((pctx->tempsUsed & (1 << i)) == 0) { in pstip_transform_inst()
289 if (pctx->texTemp < 0) in pstip_transform_inst()
290 pctx->texTemp = i; in pstip_transform_inst()
295 assert(pctx->texTemp >= 0); in pstip_transform_inst()
297 if (pctx->wincoordInput < 0) { in pstip_transform_inst()
315 decl.Range.Last = pctx->freeSampler; in pstip_transform_inst()
322 decl.Range.Last = pctx->texTemp; in pstip_transform_inst()
341 pctx->firstInstruction = FALSE; in pstip_transform_inst()
361 newInst.Dst[0].Register.Index = pctx->texTemp; in pstip_transform_inst()
366 newInst.Src[1].Register.Index = pctx->numImmed; in pstip_transform_inst()
374 newInst.Dst[0].Register.Index = pctx->texTemp; in pstip_transform_inst()
379 newInst.Src[0].Register.Index = pctx->texTemp; in pstip_transform_inst()
381 newInst.Src[1].Register.Index = pctx->freeSampler; in pstip_transform_inst()
390 newInst.Src[0].Register.Index = pctx->texTemp; in pstip_transform_inst()