/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_two_side.c | 76 if (decl->Declaration.File == TGSI_FILE_INPUT) { in xform_decl() 109 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog() 135 decl.Declaration.File = TGSI_FILE_INPUT; in emit_prolog() 155 inst.Src[0].Register.File = TGSI_FILE_INPUT; in emit_prolog() 157 inst.Src[1].Register.File = TGSI_FILE_INPUT; in emit_prolog() 159 inst.Src[2].Register.File = TGSI_FILE_INPUT; in emit_prolog() 182 if (inst->Src[i].Register.File == TGSI_FILE_INPUT) { in xform_inst()
|
D | tgsi_emulate.c | 53 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()
|
D | tgsi_aa_point.c | 72 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()
|
D | tgsi_scan.c | 147 if (src->Register.File == TGSI_FILE_INPUT) { in scan_src_operand() 573 case TGSI_FILE_INPUT: in scan_declaration() 621 case TGSI_FILE_INPUT: in scan_declaration() 881 info->file_count[TGSI_FILE_INPUT] = num_verts; in tgsi_scan_shader() 882 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader() 883 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader() 885 info->file_mask[TGSI_FILE_INPUT] |= (1 << j); in tgsi_scan_shader()
|
D | tgsi_ureg.c | 331 return ureg_src_array_register(TGSI_FILE_INPUT, ureg->input[i].first, in ureg_DECL_fs_input_cyl_centroid_layout() 359 return ureg_src_register( TGSI_FILE_INPUT, index ); in ureg_DECL_vs_input() 1134 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src() 1154 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src() 1198 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst() 1218 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst() 1822 emit_decl_range( ureg, TGSI_FILE_INPUT, i, 1 ); in emit_decls() 1829 TGSI_FILE_INPUT, in emit_decls() 1845 TGSI_FILE_INPUT, in emit_decls() 1861 TGSI_FILE_INPUT, in emit_decls() [all …]
|
D | tgsi_lowering.c | 1175 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/ |
D | tgsi_scan.c | 176 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()
|
D | tgsi_ureg.c | 306 return ureg_src_register(TGSI_FILE_INPUT, i); in ureg_DECL_fs_input_cyl_centroid() 317 return ureg_src_register( TGSI_FILE_INPUT, index ); in ureg_DECL_vs_input() 337 return ureg_src_register(TGSI_FILE_INPUT, index); in ureg_DECL_gs_input() 882 assert(dst.File != TGSI_FILE_INPUT); in ureg_emit_dst() 1351 emit_decl_range( ureg, TGSI_FILE_INPUT, i, 1 ); in emit_decls() 1357 TGSI_FILE_INPUT, in emit_decls() 1368 TGSI_FILE_INPUT, in emit_decls()
|
D | tgsi_dump.c | 297 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration() 398 decl->Declaration.File == TGSI_FILE_INPUT) in iter_declaration()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 142 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_transform_decl() 215 TGSI_FILE_INPUT, texInput, in aa_transform_prolog() 216 TGSI_FILE_INPUT, texInput, false); in aa_transform_prolog() 240 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, false); in aa_transform_prolog() 251 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog() 252 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, true); in aa_transform_prolog() 270 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog() 283 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_Z, false); in aa_transform_prolog() 294 TGSI_FILE_INPUT, texInput, TGSI_SWIZZLE_W, in aa_transform_prolog()
|
D | draw_vs_llvm.c | 103 vs->base.info.file_max[TGSI_FILE_INPUT]+1, in draw_create_vs_llvm()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_drawpixels_shader.c | 144 TGSI_FILE_INPUT, texcoord_index, in transform_instr() 196 if (src->Register.File != TGSI_FILE_INPUT || src->Register.Indirect) in transform_instr()
|
D | st_cb_bitmap_shader.c | 101 TGSI_FILE_INPUT, texcoord_index, in transform_instr()
|
D | st_atifs_to_tgsi.c | 719 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr() 735 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr() 761 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_info.c | 176 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_tex() 261 if (chan_info->file != TGSI_FILE_INPUT) { in analyse_sample() 505 case TGSI_FILE_INPUT: in dump_info()
|
D | lp_bld_tgsi_soa.c | 1425 if (bld->indirect_files & (1 << TGSI_FILE_INPUT)) { in emit_fetch_input() 2776 if (file == TGSI_FILE_INPUT) { in emit_dump_file() 2802 } else if (file == TGSI_FILE_INPUT) { in emit_dump_file() 3676 if (bld->indirect_files & (1 << TGSI_FILE_INPUT) && !bld->gs_iface) { in emit_prologue() 3680 bld_base->info->file_max[TGSI_FILE_INPUT]*4 + 4); in emit_prologue() 3686 <= bld_base->info->file_max[TGSI_FILE_INPUT] + 1); in emit_prologue() 3729 emit_dump_file(bld, TGSI_FILE_INPUT); in emit_prologue() 3856 bld.bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = emit_fetch_input; in lp_build_tgsi_soa() 3925 bld.indirect_files |= (1 << TGSI_FILE_INPUT); in lp_build_tgsi_soa() 3927 bld.bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = emit_fetch_gs_input; in lp_build_tgsi_soa()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_compiler.c | 318 bool mode_inputs = (file == TGSI_FILE_INPUT); in assign_inouts_to_temporaries() 717 if (inst->Src[0].Register.File == TGSI_FILE_INPUT && in etna_compile_pass_optimize_outputs() 718 !c->file[TGSI_FILE_INPUT].reg[in_idx].native.valid && in etna_compile_pass_optimize_outputs() 723 c->file[TGSI_FILE_INPUT].reg[in_idx].native = in etna_compile_pass_optimize_outputs() 2048 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in permute_ps_inputs() 2049 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in permute_ps_inputs() 2058 c->file[TGSI_FILE_INPUT].reg[idx].native); in permute_ps_inputs() 2075 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in fill_in_ps_inputs() 2076 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in fill_in_ps_inputs() 2126 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/ |
D | svga_state_vdecl.c | 52 svga->curr.vs->base.info.file_count[TGSI_FILE_INPUT]); in emit_hw_vs_vdecl()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_compiler.c | 201 } else if (decl->Declaration.File == TGSI_FILE_INPUT) { in compile_init() 253 for (i = 0; i < ctx->num_regs[TGSI_FILE_INPUT]; i++) { in compile_vtx_fetch() 309 unsigned num = idx + ctx->num_regs[TGSI_FILE_INPUT]; in get_temp_gpr() 372 case TGSI_FILE_INPUT: in add_src_reg()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 312 assert(file == TGSI_FILE_INPUT || in ttn_emit_declaration() 324 if ((file == TGSI_FILE_INPUT) || (file == TGSI_FILE_OUTPUT)) { in ttn_emit_declaration() 340 case TGSI_FILE_INPUT: in ttn_emit_declaration() 597 case TGSI_FILE_INPUT: in ttn_src_for_file_and_index() 604 case TGSI_FILE_INPUT: in ttn_src_for_file_and_index() 1925 s->num_inputs = scan.file_max[TGSI_FILE_INPUT] + 1; in tgsi_to_nir()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_setup.c | 546 case TGSI_FILE_INPUT: { in si_llvm_emit_fetch() 755 case TGSI_FILE_INPUT: in emit_declaration() 760 ctx->input_decls[idx].Declaration.File != TGSI_FILE_INPUT) { in emit_declaration() 1148 ctx->bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = si_llvm_emit_fetch; in si_llvm_context_set_tgsi()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_fragprog.c | 382 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/auxiliary/util/ |
D | u_pstipple.c | 292 if (pctx->wincoordFile == TGSI_FILE_INPUT) { in pstip_transform_prolog()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.c | 433 case TGSI_FILE_INPUT: in tgsi_is_supported() 877 case TGSI_FILE_INPUT: in tgsi_declaration() 885 ctx->shader->input[i].gpr = ctx->file_offset[TGSI_FILE_INPUT] + d->Range.First + j; in tgsi_declaration() 1668 if (src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_gs_inputs() 1675 if (src->Register.File == TGSI_FILE_INPUT && src->Register.Dimension) { in tgsi_split_gs_inputs() 1757 if (reg.Register.File == TGSI_FILE_INPUT) { in r600_get_byte_address() 1958 if (ctx->type == PIPE_SHADER_TESS_EVAL && src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_lds_inputs() 1964 if (ctx->type == PIPE_SHADER_TESS_CTRL && src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_lds_inputs() 3241 ctx.file_offset[TGSI_FILE_INPUT] = 1; in r600_shader_from_tgsi() 3247 ctx.file_offset[TGSI_FILE_INPUT] = evergreen_gpr_count(&ctx); in r600_shader_from_tgsi() [all …]
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 71 TGSI_FILE_INPUT =2, enumerator
|