Home
last modified time | relevance | path

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

123

/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.c147 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()
Dtgsi_ureg.c331 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 …]
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.c306 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()
Dtgsi_dump.c297 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/
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.c719 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/
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()
505 case TGSI_FILE_INPUT: in dump_info()
Dlp_bld_tgsi_soa.c1425 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/
Detnaviv_compiler.c318 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/
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()
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/
Dsi_shader_tgsi_setup.c546 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/
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/auxiliary/util/
Du_pstipple.c292 if (pctx->wincoordFile == TGSI_FILE_INPUT) { in pstip_transform_prolog()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c433 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/
Dp_shader_tokens.h71 TGSI_FILE_INPUT =2, enumerator

123