Home
last modified time | relevance | path

Searched refs:TGSI_FILE_INPUT (Results 1 – 25 of 48) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_two_side.c77 if (decl->Declaration.File == TGSI_FILE_INPUT) { in xform_decl()
110 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog()
136 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog()
156 inst.Src[0].Register.File = TGSI_FILE_INPUT; in emit_prolog()
158 inst.Src[1].Register.File = TGSI_FILE_INPUT; in emit_prolog()
160 inst.Src[2].Register.File = TGSI_FILE_INPUT; in emit_prolog()
183 if (inst->Src[i].Register.File == TGSI_FILE_INPUT) { in xform_inst()
Dtgsi_emulate.c53 decl->Declaration.File == TGSI_FILE_INPUT) { in transform_decl()
70 decl.Declaration.File = TGSI_FILE_INPUT; in passthrough_edgeflag()
93 new_inst.Src[0].Register.File = TGSI_FILE_INPUT; in passthrough_edgeflag()
Dtgsi_aa_point.c72 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_decl()
153 TGSI_FILE_INPUT, texIn, in aa_prolog()
173 TGSI_FILE_INPUT, texIn, TGSI_SWIZZLE_Z, true); in aa_prolog()
Dtgsi_scan.c148 if (src->Register.File == TGSI_FILE_INPUT) { in scan_src_operand()
615 case TGSI_FILE_INPUT: in scan_declaration()
666 case TGSI_FILE_INPUT: in scan_declaration()
929 info->file_count[TGSI_FILE_INPUT] = num_verts; in tgsi_scan_shader()
930 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
931 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
933 info->file_mask[TGSI_FILE_INPUT] |= (1 << j); in tgsi_scan_shader()
Dtgsi_ureg.c331 return ureg_src_array_register(TGSI_FILE_INPUT, ureg->input[i].first, in ureg_DECL_fs_input_centroid_layout()
359 return ureg_src_register( TGSI_FILE_INPUT, index ); in ureg_DECL_vs_input()
1139 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1159 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1203 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1223 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1847 emit_decl_range( ureg, TGSI_FILE_INPUT, i, 1 ); in emit_decls()
1854 TGSI_FILE_INPUT, in emit_decls()
1869 TGSI_FILE_INPUT, in emit_decls()
1884 TGSI_FILE_INPUT, in emit_decls()
[all …]
Dtgsi_lowering.c1176 inbase = info->file_max[TGSI_FILE_INPUT] + 1; in emit_twoside()
1183 decl.Declaration.File = TGSI_FILE_INPUT; in emit_twoside()
1197 decl.Declaration.File = TGSI_FILE_INPUT; in emit_twoside()
1226 new_inst.Src[0].Register.File = TGSI_FILE_INPUT; in emit_twoside()
1232 new_inst.Src[1].Register.File = TGSI_FILE_INPUT; in emit_twoside()
1238 new_inst.Src[2].Register.File = TGSI_FILE_INPUT; in emit_twoside()
1309 if (src->File == TGSI_FILE_INPUT) { in rename_color_inputs()
1455 for (i = 0; i <= info->file_max[TGSI_FILE_INPUT]; i++) { in tgsi_transform_lowering()
Dtgsi_dump.c315 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
429 decl->Declaration.File == TGSI_FILE_INPUT) in iter_declaration()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c59 if (decl->Declaration.File == TGSI_FILE_INPUT && in transform_decl()
72 } else if (decl->Declaration.File == TGSI_FILE_INPUT && in transform_decl()
246 TGSI_FILE_INPUT, ctx->pos_input); in prolog_fs()
251 TGSI_FILE_INPUT, ctx->depth_var, in prolog_fs()
261 unsigned src0_file = TGSI_FILE_INPUT; in epilog_fs()
332 if (inst->Src[i].Register.File == TGSI_FILE_INPUT && in transform_instr()
Dst_cb_drawpixels_shader.c144 TGSI_FILE_INPUT, texcoord_index, in transform_instr()
196 if (src->Register.File != TGSI_FILE_INPUT || src->Register.Indirect) in transform_instr()
Dst_cb_bitmap_shader.c100 TGSI_FILE_INPUT, texcoord_index, in transform_instr()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c144 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_transform_decl()
217 TGSI_FILE_INPUT, texInput, in aa_transform_prolog()
218 TGSI_FILE_INPUT, texInput, false); in aa_transform_prolog()
242 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, false); in aa_transform_prolog()
253 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog()
254 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, true); in aa_transform_prolog()
272 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog()
285 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, false); in aa_transform_prolog()
296 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog()
Ddraw_vs_llvm.c118 vs->base.info.file_max[TGSI_FILE_INPUT]+1, in draw_create_vs_llvm()
Ddraw_pipe_aaline.c128 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_transform_decl()
208 tgsi_transform_src_reg(&inst.Src[1], TGSI_FILE_INPUT, aactx->maxInput + 1, in aa_transform_epilog()
211 tgsi_transform_src_reg(&inst.Src[0], TGSI_FILE_INPUT, aactx->maxInput + 1, in aa_transform_epilog()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_analysis.c111 tex->coord[0].file != TGSI_FILE_INPUT || in match_aero_minification_shader()
112 tex->coord[1].file != TGSI_FILE_INPUT || in match_aero_minification_shader()
Dlp_linear.c221 int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_a()
259 int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_b()
287 info->base.file_max[TGSI_FILE_INPUT] >= LP_MAX_LINEAR_INPUTS) { in lp_linear_check_variant()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c344 info->indirect_files |= (1 << TGSI_FILE_INPUT); in scan_instruction()
579 info->indirect_files |= 1 << TGSI_FILE_INPUT; in nir_tgsi_scan_shader()
580 info->file_max[TGSI_FILE_INPUT] = info->num_inputs - 1; in nir_tgsi_scan_shader()
582 int max = info->file_max[TGSI_FILE_INPUT] = -1; in nir_tgsi_scan_shader()
588 info->file_max[TGSI_FILE_INPUT] = max; in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c177 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_tex()
262 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_sample()
513 case TGSI_FILE_INPUT: in dump_info()
Dlp_bld_tgsi_soa.c1076 if (bld->indirect_files & (1 << TGSI_FILE_INPUT)) { in emit_fetch_input()
2831 if (file == TGSI_FILE_INPUT) { in emit_dump_file()
2857 } else if (file == TGSI_FILE_INPUT) { in emit_dump_file()
4295 if (bld->indirect_files & (1 << TGSI_FILE_INPUT) && in emit_prologue()
4300 bld_base->info->file_max[TGSI_FILE_INPUT]*4 + 4); in emit_prologue()
4306 <= bld_base->info->file_max[TGSI_FILE_INPUT] + 1); in emit_prologue()
4349 emit_dump_file(bld, TGSI_FILE_INPUT); in emit_prologue()
4483 bld.bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = emit_fetch_input; in lp_build_tgsi_soa()
4576 bld.indirect_files |= (1 << TGSI_FILE_INPUT); in lp_build_tgsi_soa()
4578 bld.bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = emit_fetch_gs_input; in lp_build_tgsi_soa()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_tgsi.c328 bool mode_inputs = (file == TGSI_FILE_INPUT); in assign_inouts_to_temporaries()
731 if (inst->Src[0].Register.File == TGSI_FILE_INPUT && in etna_compile_pass_optimize_outputs()
732 !c->file[TGSI_FILE_INPUT].reg[in_idx].native.valid && in etna_compile_pass_optimize_outputs()
737 c->file[TGSI_FILE_INPUT].reg[in_idx].native = in etna_compile_pass_optimize_outputs()
2106 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in permute_ps_inputs()
2107 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in permute_ps_inputs()
2118 c->file[TGSI_FILE_INPUT].reg[idx].native); in permute_ps_inputs()
2140 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in fill_in_ps_inputs()
2141 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in fill_in_ps_inputs()
2191 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in fill_in_vs_inputs()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_vdecl.c52 svga->curr.vs->base.info.file_count[TGSI_FILE_INPUT]); in emit_hw_vs_vdecl()
Dsvga_tgsi_vgpu10.c1008 case TGSI_FILE_INPUT: in translate_register_file()
1496 if (file == TGSI_FILE_INPUT) { in emit_src_register()
1547 file = TGSI_FILE_INPUT; in emit_src_register()
1553 if (file == TGSI_FILE_INPUT) { in emit_src_register()
1569 if (file == TGSI_FILE_INPUT) { in emit_src_register()
1592 file = TGSI_FILE_INPUT; in emit_src_register()
1642 else if (file == TGSI_FILE_INPUT) { in emit_src_register()
1727 else if (file == TGSI_FILE_INPUT) { in emit_src_register()
3358 emit->info.indirect_files & (1 << TGSI_FILE_INPUT) ? TRUE : FALSE; in emit_hull_shader_patch_constant_phase()
4574 case TGSI_FILE_INPUT: in emit_vgpu10_declaration()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c382 case TGSI_FILE_INPUT: in tgsi_src()
475 case TGSI_FILE_INPUT: in nvfx_fragprog_parse_instruction()
986 case TGSI_FILE_INPUT: in nvfx_fragprog_prepare()
1030 case TGSI_FILE_INPUT: in nvfx_fragprog_prepare()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c292 if (pctx->wincoordFile == TGSI_FILE_INPUT) { in pstip_transform_prolog()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h66 TGSI_FILE_INPUT, enumerator
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp420 case TGSI_FILE_INPUT: return nv50_ir::FILE_SHADER_INPUT; in translateFile()
1102 info_out->numInputs = scan.file_max[TGSI_FILE_INPUT] + 1; in scanSource()
1299 case TGSI_FILE_INPUT: in scanDeclaration()
1478 insn.getSrc(0).getFile() == TGSI_FILE_INPUT; in isEdgeFlagPassthrough()
1503 if (src.getFile() != TGSI_FILE_INPUT) in scanInstructionSrc()
1556 if (dst.getFile() == TGSI_FILE_INPUT) { in scanInstruction()
1920 case TGSI_FILE_INPUT: in fetchSrc()
1958 case TGSI_FILE_INPUT: in fetchDst()
2048 case TGSI_FILE_INPUT: in fetchSrc()
3052 if (src.getFile() != TGSI_FILE_INPUT) { in handleINTERP()

12