Home
last modified time | relevance | path

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

123

/external/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()
930 info->file_count[TGSI_FILE_INPUT] = num_verts; in tgsi_scan_shader()
931 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
932 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
934 info->file_mask[TGSI_FILE_INPUT] |= (1 << j); in tgsi_scan_shader()
Dtgsi_ureg.c335 return ureg_src_array_register(TGSI_FILE_INPUT, ureg->input[i].first, in ureg_DECL_fs_input_cyl_centroid_layout()
364 return ureg_src_register( TGSI_FILE_INPUT, index ); in ureg_DECL_vs_input()
1144 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1164 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1208 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1228 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1834 emit_decl_range( ureg, TGSI_FILE_INPUT, i, 1 ); in emit_decls()
1841 TGSI_FILE_INPUT, in emit_decls()
1857 TGSI_FILE_INPUT, in emit_decls()
1873 TGSI_FILE_INPUT, in emit_decls()
[all …]
Dtgsi_lowering.c1175 inbase = info->file_max[TGSI_FILE_INPUT] + 1; in emit_twoside()
1182 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()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c176 if (src->Register.File == TGSI_FILE_INPUT) { in tgsi_scan_shader()
248 case TGSI_FILE_INPUT: in tgsi_scan_shader()
283 else if (file == TGSI_FILE_INPUT) { in tgsi_scan_shader()
465 info->file_count[TGSI_FILE_INPUT] = num_verts; in tgsi_scan_shader()
466 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
467 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
469 info->file_mask[TGSI_FILE_INPUT] |= (1 << j); in tgsi_scan_shader()
515 (src->Register.File != TGSI_FILE_INPUT && in tgsi_is_passthrough_shader()
Dtgsi_ureg.c318 return ureg_src_register(TGSI_FILE_INPUT, i); in ureg_DECL_fs_input_cyl_centroid()
329 return ureg_src_register( TGSI_FILE_INPUT, index ); in ureg_DECL_vs_input()
349 return ureg_src_register(TGSI_FILE_INPUT, index); in ureg_DECL_gs_input()
918 assert(dst.File != TGSI_FILE_INPUT); in ureg_emit_dst()
1416 emit_decl_range( ureg, TGSI_FILE_INPUT, i, 1 ); in emit_decls()
1422 TGSI_FILE_INPUT, in emit_decls()
1433 TGSI_FILE_INPUT, in emit_decls()
/external/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()
Dst_atifs_to_tgsi.c721 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr()
737 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr()
763 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr()
/external/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()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_info.c176 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_tex()
261 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_sample()
511 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 …]
/external/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()
588 info->file_max[TGSI_FILE_INPUT] = max; in nir_tgsi_scan_shader()
/external/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()
2090 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in permute_ps_inputs()
2091 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in permute_ps_inputs()
2102 c->file[TGSI_FILE_INPUT].reg[idx].native); in permute_ps_inputs()
2124 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in fill_in_ps_inputs()
2125 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in fill_in_ps_inputs()
2175 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in fill_in_vs_inputs()
[all …]
/external/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 …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c292 if (pctx->wincoordFile == TGSI_FILE_INPUT) { in pstip_transform_prolog()
/external/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()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h66 TGSI_FILE_INPUT, enumerator
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h71 TGSI_FILE_INPUT =2, enumerator

123