Home
last modified time | relevance | path

Searched refs:finst (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_linkage.c81 const struct tgsi_full_instruction *finst = &parse.FullToken.FullInstruction; in util_semantic_set_from_program_file() local
83 for(i = 0; i < finst->Instruction.NumDstRegs; ++i) in util_semantic_set_from_program_file()
85 if(finst->Dst[i].Register.File == file) in util_semantic_set_from_program_file()
87 unsigned idx = finst->Dst[i].Register.Index; in util_semantic_set_from_program_file()
96 for(i = 0; i < finst->Instruction.NumSrcRegs; ++i) in util_semantic_set_from_program_file()
98 if(finst->Src[i].Register.File == file) in util_semantic_set_from_program_file()
100 unsigned idx = finst->Src[i].Register.Index; in util_semantic_set_from_program_file()
/external/mesa3d/src/gallium/drivers/nv30/
Dnvfx_vertprog.c459 unsigned idx, const struct tgsi_full_instruction *finst) in nvfx_vertprog_parse_instruction() argument
474 for (i = 0; i < finst->Instruction.NumSrcRegs; i++) { in nvfx_vertprog_parse_instruction()
477 fsrc = &finst->Src[i]; in nvfx_vertprog_parse_instruction()
483 for (i = 0; i < finst->Instruction.NumSrcRegs; i++) { in nvfx_vertprog_parse_instruction()
486 fsrc = &finst->Src[i]; in nvfx_vertprog_parse_instruction()
530 for (i = 0; i < finst->Instruction.NumSrcRegs; i++) { in nvfx_vertprog_parse_instruction()
535 if(finst->Dst[0].Register.File == TGSI_FILE_ADDRESS && in nvfx_vertprog_parse_instruction()
536 finst->Instruction.Opcode != TGSI_OPCODE_ARL) in nvfx_vertprog_parse_instruction()
539 final_dst = dst = tgsi_dst(vpc, &finst->Dst[0]); in nvfx_vertprog_parse_instruction()
540 mask = tgsi_mask(finst->Dst[0].Register.WriteMask); in nvfx_vertprog_parse_instruction()
[all …]
Dnvfx_fragprog.c441 const struct tgsi_full_instruction *finst) in nvfx_fragprog_parse_instruction() argument
451 if (finst->Instruction.Opcode == TGSI_OPCODE_END) in nvfx_fragprog_parse_instruction()
454 for (i = 0; i < finst->Instruction.NumSrcRegs; i++) { in nvfx_fragprog_parse_instruction()
457 fsrc = &finst->Src[i]; in nvfx_fragprog_parse_instruction()
463 for (i = 0; i < finst->Instruction.NumSrcRegs; i++) { in nvfx_fragprog_parse_instruction()
466 fsrc = &finst->Src[i]; in nvfx_fragprog_parse_instruction()
526 dst = tgsi_dst(fpc, &finst->Dst[0]); in nvfx_fragprog_parse_instruction()
527 mask = tgsi_mask(finst->Dst[0].Register.WriteMask); in nvfx_fragprog_parse_instruction()
528 sat = (finst->Instruction.Saturate == TGSI_SAT_ZERO_ONE); in nvfx_fragprog_parse_instruction()
530 switch (finst->Instruction.Opcode) { in nvfx_fragprog_parse_instruction()
[all …]