Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_two_side.c76 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()
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.c117 if (src->Register.File == TGSI_FILE_INPUT) { in scan_src_operand()
440 case TGSI_FILE_INPUT: in scan_declaration()
488 case TGSI_FILE_INPUT: in scan_declaration()
741 info->file_count[TGSI_FILE_INPUT] = num_verts; in tgsi_scan_shader()
742 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
743 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
745 info->file_mask[TGSI_FILE_INPUT] |= (1 << j); in tgsi_scan_shader()
867 (src->Register.File != TGSI_FILE_INPUT && in tgsi_is_passthrough_shader()
Dtgsi_ureg.c322 return ureg_src_array_register(TGSI_FILE_INPUT, ureg->input[i].first, in ureg_DECL_fs_input_cyl_centroid_layout()
350 return ureg_src_register( TGSI_FILE_INPUT, index ); in ureg_DECL_vs_input()
1112 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1132 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1159 assert(dst.File != TGSI_FILE_INPUT); in ureg_emit_dst()
1178 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1198 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1851 emit_decl_range( ureg, TGSI_FILE_INPUT, i, 1 ); in emit_decls()
1858 TGSI_FILE_INPUT, in emit_decls()
1874 TGSI_FILE_INPUT, in emit_decls()
[all …]
Dtgsi_lowering.c1326 inbase = info->file_max[TGSI_FILE_INPUT] + 1; in emit_twoside()
1333 decl.Declaration.File = TGSI_FILE_INPUT; in emit_twoside()
1348 decl.Declaration.File = TGSI_FILE_INPUT; in emit_twoside()
1377 new_inst.Src[0].Register.File = TGSI_FILE_INPUT; in emit_twoside()
1383 new_inst.Src[1].Register.File = TGSI_FILE_INPUT; in emit_twoside()
1389 new_inst.Src[2].Register.File = TGSI_FILE_INPUT; in emit_twoside()
1460 if (src->File == TGSI_FILE_INPUT) { in rename_color_inputs()
1626 for (i = 0; i <= info->file_max[TGSI_FILE_INPUT]; i++) { in tgsi_transform_lowering()
Dtgsi_dump.c311 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
425 decl->Declaration.File == TGSI_FILE_INPUT) in iter_declaration()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c142 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()
Ddraw_vs_llvm.c103 vs->base.info.file_max[TGSI_FILE_INPUT]+1, in draw_create_vs_llvm()
/external/mesa3d/src/mesa/state_tracker/
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.c101 TGSI_FILE_INPUT, texcoord_index, in transform_instr()
Dst_atifs_to_tgsi.c724 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr()
740 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr()
766 SET_SRC(&inst, 0, TGSI_FILE_INPUT, fogc_index, X, Y, Z, W); in transform_instr()
/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()
509 case TGSI_FILE_INPUT: in dump_info()
Dlp_bld_tgsi_soa.c1468 if (bld->indirect_files & (1 << TGSI_FILE_INPUT)) { in emit_fetch_input()
2901 if (file == TGSI_FILE_INPUT) { in emit_dump_file()
2927 } else if (file == TGSI_FILE_INPUT) { in emit_dump_file()
3792 if (bld->indirect_files & (1 << TGSI_FILE_INPUT) && !bld->gs_iface) { in emit_prologue()
3796 bld_base->info->file_max[TGSI_FILE_INPUT]*4 + 4); in emit_prologue()
3802 <= bld_base->info->file_max[TGSI_FILE_INPUT] + 1); in emit_prologue()
3845 emit_dump_file(bld, TGSI_FILE_INPUT); in emit_prologue()
3972 bld.bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = emit_fetch_input; in lp_build_tgsi_soa()
4038 bld.indirect_files |= (1 << TGSI_FILE_INPUT); in lp_build_tgsi_soa()
4040 bld.bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = emit_fetch_gs_input; in lp_build_tgsi_soa()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler.c314 bool mode_inputs = (file == TGSI_FILE_INPUT); in assign_inouts_to_temporaries()
713 if (inst->Src[0].Register.File == TGSI_FILE_INPUT && in etna_compile_pass_optimize_outputs()
714 !c->file[TGSI_FILE_INPUT].reg[in_idx].native.valid && in etna_compile_pass_optimize_outputs()
719 c->file[TGSI_FILE_INPUT].reg[in_idx].native = in etna_compile_pass_optimize_outputs()
2022 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in permute_ps_inputs()
2023 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in permute_ps_inputs()
2032 c->file[TGSI_FILE_INPUT].reg[idx].native); in permute_ps_inputs()
2049 for (int idx = 0; idx < c->file[TGSI_FILE_INPUT].reg_size; ++idx) { in fill_in_ps_inputs()
2050 struct etna_reg_desc *reg = &c->file[TGSI_FILE_INPUT].reg[idx]; in fill_in_ps_inputs()
2100 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()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c201 } 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/
Dtgsi_to_nir.c312 assert(file == TGSI_FILE_INPUT || in ttn_emit_declaration()
323 if ((file == TGSI_FILE_INPUT) || (file == TGSI_FILE_OUTPUT)) { in ttn_emit_declaration()
339 case TGSI_FILE_INPUT: in ttn_emit_declaration()
596 case TGSI_FILE_INPUT: in ttn_src_for_file_and_index()
603 case TGSI_FILE_INPUT: in ttn_src_for_file_and_index()
2007 s->num_inputs = scan.file_max[TGSI_FILE_INPUT] + 1; in tgsi_to_nir()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c709 case TGSI_FILE_INPUT: { in si_llvm_emit_fetch()
901 case TGSI_FILE_INPUT: in emit_declaration()
906 ctx->input_decls[idx].Declaration.File != TGSI_FILE_INPUT) { in emit_declaration()
1332 bld_base->emit_fetch_funcs[TGSI_FILE_INPUT] = si_llvm_emit_fetch; in si_llvm_context_init()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c292 if (pctx->wincoordFile == TGSI_FILE_INPUT) { in pstip_transform_prolog()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c415 case TGSI_FILE_INPUT: in tgsi_is_supported()
859 case TGSI_FILE_INPUT: in tgsi_declaration()
867 ctx->shader->input[i].gpr = ctx->file_offset[TGSI_FILE_INPUT] + d->Range.First + j; in tgsi_declaration()
1588 if (src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_gs_inputs()
1595 if (src->Register.File == TGSI_FILE_INPUT && src->Register.Dimension) { in tgsi_split_gs_inputs()
1677 if (reg.Register.File == TGSI_FILE_INPUT) { in r600_get_byte_address()
1857 if (ctx->type == PIPE_SHADER_TESS_EVAL && src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_lds_inputs()
1863 if (ctx->type == PIPE_SHADER_TESS_CTRL && src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_lds_inputs()
3035 ctx.file_offset[TGSI_FILE_INPUT] = 1; in r600_shader_from_tgsi()
3040 ctx.file_offset[TGSI_FILE_INPUT] = evergreen_gpr_count(&ctx); in r600_shader_from_tgsi()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c381 case TGSI_FILE_INPUT: in tgsi_src()
474 case TGSI_FILE_INPUT: in nvfx_fragprog_parse_instruction()
1012 case TGSI_FILE_INPUT: in nvfx_fragprog_prepare()
1056 case TGSI_FILE_INPUT: in nvfx_fragprog_prepare()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h66 TGSI_FILE_INPUT, enumerator
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_shader.c68 TGSI_FILE_INPUT); in create_fs_variant()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c142 case TGSI_FILE_INPUT: return RC_FILE_INPUT; in translate_register_file()

12