• Home
  • Raw
  • Download

Lines Matching refs:fullinst

107                  const struct tgsi_full_instruction *fullinst,  in scan_src_operand()  argument
269 assert(fullinst->Instruction.Texture); in scan_src_operand()
273 if (is_texture_inst(fullinst->Instruction.Opcode)) { in scan_src_operand()
274 const unsigned target = fullinst->Texture.Texture; in scan_src_operand()
298 !is_mem_query_inst(fullinst->Instruction.Opcode)) { in scan_src_operand()
301 if (tgsi_get_opcode_info(fullinst->Instruction.Opcode)->is_store) { in scan_src_operand()
334 const struct tgsi_full_instruction *fullinst, in scan_instruction() argument
342 assert(fullinst->Instruction.Opcode < TGSI_OPCODE_LAST); in scan_instruction()
343 info->opcode_count[fullinst->Instruction.Opcode]++; in scan_instruction()
345 switch (fullinst->Instruction.Opcode) { in scan_instruction()
371 sampler_src = fullinst->Instruction.NumSrcRegs - 1; in scan_instruction()
372 if (fullinst->Src[sampler_src].Register.File != TGSI_FILE_SAMPLER) in scan_instruction()
387 if (tgsi_is_bindless_image_file(fullinst->Src[0].Register.File)) in scan_instruction()
391 if (tgsi_is_bindless_image_file(fullinst->Dst[0].Register.File)) in scan_instruction()
398 if (fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_CENTROID || in scan_instruction()
399 fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_OFFSET || in scan_instruction()
400 fullinst->Instruction.Opcode == TGSI_OPCODE_INTERP_SAMPLE) { in scan_instruction()
401 const struct tgsi_full_src_register *src0 = &fullinst->Src[0]; in scan_instruction()
418 switch (fullinst->Instruction.Opcode) { in scan_instruction()
432 switch (fullinst->Instruction.Opcode) { in scan_instruction()
447 if ((fullinst->Instruction.Opcode >= TGSI_OPCODE_F2D && in scan_instruction()
448 fullinst->Instruction.Opcode <= TGSI_OPCODE_DSSG) || in scan_instruction()
449 fullinst->Instruction.Opcode == TGSI_OPCODE_DFMA || in scan_instruction()
450 fullinst->Instruction.Opcode == TGSI_OPCODE_DDIV || in scan_instruction()
451 fullinst->Instruction.Opcode == TGSI_OPCODE_D2U64 || in scan_instruction()
452 fullinst->Instruction.Opcode == TGSI_OPCODE_D2I64 || in scan_instruction()
453 fullinst->Instruction.Opcode == TGSI_OPCODE_U642D || in scan_instruction()
454 fullinst->Instruction.Opcode == TGSI_OPCODE_I642D) in scan_instruction()
457 for (i = 0; i < fullinst->Instruction.NumSrcRegs; i++) { in scan_instruction()
458 scan_src_operand(info, fullinst, &fullinst->Src[i], i, in scan_instruction()
459 tgsi_util_get_inst_usage_mask(fullinst, i), in scan_instruction()
462 if (fullinst->Src[i].Register.Indirect) { in scan_instruction()
465 src.Register.File = fullinst->Src[i].Indirect.File; in scan_instruction()
466 src.Register.Index = fullinst->Src[i].Indirect.Index; in scan_instruction()
468 scan_src_operand(info, fullinst, &src, -1, in scan_instruction()
469 1 << fullinst->Src[i].Indirect.Swizzle, in scan_instruction()
473 if (fullinst->Src[i].Register.Dimension && in scan_instruction()
474 fullinst->Src[i].Dimension.Indirect) { in scan_instruction()
477 src.Register.File = fullinst->Src[i].DimIndirect.File; in scan_instruction()
478 src.Register.Index = fullinst->Src[i].DimIndirect.Index; in scan_instruction()
480 scan_src_operand(info, fullinst, &src, -1, in scan_instruction()
481 1 << fullinst->Src[i].DimIndirect.Swizzle, in scan_instruction()
486 if (fullinst->Instruction.Texture) { in scan_instruction()
487 for (i = 0; i < fullinst->Texture.NumOffsets; i++) { in scan_instruction()
490 src.Register.File = fullinst->TexOffsets[i].File; in scan_instruction()
491 src.Register.Index = fullinst->TexOffsets[i].Index; in scan_instruction()
494 scan_src_operand(info, fullinst, &src, -1, in scan_instruction()
495 (1 << fullinst->TexOffsets[i].SwizzleX) | in scan_instruction()
496 (1 << fullinst->TexOffsets[i].SwizzleY) | in scan_instruction()
497 (1 << fullinst->TexOffsets[i].SwizzleZ), in scan_instruction()
503 for (i = 0; i < fullinst->Instruction.NumDstRegs; i++) { in scan_instruction()
504 const struct tgsi_full_dst_register *dst = &fullinst->Dst[i]; in scan_instruction()
512 scan_src_operand(info, fullinst, &src, -1, in scan_instruction()
525 scan_src_operand(info, fullinst, &src, -1, in scan_instruction()
532 assert(fullinst->Instruction.Opcode == TGSI_OPCODE_STORE); in scan_instruction()
554 if (computes_derivative(fullinst->Instruction.Opcode)) in scan_instruction()