• Home
  • Raw
  • Download

Lines Matching refs:newInst

271       struct tgsi_full_instruction newInst;  in pstip_transform_inst()  local
357 newInst = tgsi_default_full_instruction(); in pstip_transform_inst()
358 newInst.Instruction.Opcode = TGSI_OPCODE_MUL; in pstip_transform_inst()
359 newInst.Instruction.NumDstRegs = 1; in pstip_transform_inst()
360 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst()
361 newInst.Dst[0].Register.Index = pctx->texTemp; in pstip_transform_inst()
362 newInst.Instruction.NumSrcRegs = 2; in pstip_transform_inst()
363 newInst.Src[0].Register.File = TGSI_FILE_INPUT; in pstip_transform_inst()
364 newInst.Src[0].Register.Index = wincoordInput; in pstip_transform_inst()
365 newInst.Src[1].Register.File = TGSI_FILE_IMMEDIATE; in pstip_transform_inst()
366 newInst.Src[1].Register.Index = pctx->numImmed; in pstip_transform_inst()
367 ctx->emit_instruction(ctx, &newInst); in pstip_transform_inst()
370 newInst = tgsi_default_full_instruction(); in pstip_transform_inst()
371 newInst.Instruction.Opcode = TGSI_OPCODE_TEX; in pstip_transform_inst()
372 newInst.Instruction.NumDstRegs = 1; in pstip_transform_inst()
373 newInst.Dst[0].Register.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst()
374 newInst.Dst[0].Register.Index = pctx->texTemp; in pstip_transform_inst()
375 newInst.Instruction.NumSrcRegs = 2; in pstip_transform_inst()
376 newInst.Instruction.Texture = TRUE; in pstip_transform_inst()
377 newInst.Texture.Texture = TGSI_TEXTURE_2D; in pstip_transform_inst()
378 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst()
379 newInst.Src[0].Register.Index = pctx->texTemp; in pstip_transform_inst()
380 newInst.Src[1].Register.File = TGSI_FILE_SAMPLER; in pstip_transform_inst()
381 newInst.Src[1].Register.Index = pctx->freeSampler; in pstip_transform_inst()
382 ctx->emit_instruction(ctx, &newInst); in pstip_transform_inst()
385 newInst = tgsi_default_full_instruction(); in pstip_transform_inst()
386 newInst.Instruction.Opcode = TGSI_OPCODE_KIL; in pstip_transform_inst()
387 newInst.Instruction.NumDstRegs = 0; in pstip_transform_inst()
388 newInst.Instruction.NumSrcRegs = 1; in pstip_transform_inst()
389 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst()
390 newInst.Src[0].Register.Index = pctx->texTemp; in pstip_transform_inst()
391 newInst.Src[0].Register.Negate = 1; in pstip_transform_inst()
392 ctx->emit_instruction(ctx, &newInst); in pstip_transform_inst()