Home
last modified time | relevance | path

Searched refs:TGSI_FILE_INPUT (Results 1 – 25 of 41) 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_aa_point.c73 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_decl()
161 TGSI_FILE_INPUT, texIn, in aa_prolog()
181 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()
668 case TGSI_FILE_INPUT: in scan_declaration()
931 info->file_count[TGSI_FILE_INPUT] = num_verts; in tgsi_scan_shader()
932 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
933 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
935 info->file_mask[TGSI_FILE_INPUT] |= (1 << j); in tgsi_scan_shader()
Dtgsi_ureg.c336 return ureg_src_array_register(TGSI_FILE_INPUT, ureg->input[i].first, in ureg_DECL_fs_input_centroid_layout()
364 return ureg_src_register( TGSI_FILE_INPUT, index ); in ureg_DECL_vs_input()
1146 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1166 (src.File == TGSI_FILE_INPUT || src.File == TGSI_FILE_OUTPUT)) in ureg_emit_src()
1210 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1230 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT)) in ureg_emit_dst()
1862 emit_decl_range( ureg, TGSI_FILE_INPUT, i, 1 ); in emit_decls()
1869 TGSI_FILE_INPUT, in emit_decls()
1884 TGSI_FILE_INPUT, in emit_decls()
1899 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/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_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()
Ddraw_vs_llvm.c113 vs->base.info.file_max[TGSI_FILE_INPUT]+1, in draw_create_vs_llvm()
Ddraw_pipe_pstipple.c137 TGSI_FILE_SYSTEM_VALUE : TGSI_FILE_INPUT; in generate_pstip_fs()
/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()
358 tex_info->coord[0].file = TGSI_FILE_INPUT; // S in llvmpipe_nir_fn_is_linear_compat()
359 tex_info->coord[1].file = TGSI_FILE_INPUT; // T in llvmpipe_nir_fn_is_linear_compat()
Dlp_linear.c227 const int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_a()
265 int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_b()
292 info->base.file_max[TGSI_FILE_INPUT] >= LP_MAX_LINEAR_INPUTS) { in lp_linear_check_variant()
Dlp_linear_sampler.c729 assert(schan->file == TGSI_FILE_INPUT); in lp_linear_init_sampler()
730 assert(tchan->file == TGSI_FILE_INPUT); in lp_linear_init_sampler()
957 if (tex->coord[0].file != TGSI_FILE_INPUT || in lp_linear_check_sampler()
958 tex->coord[1].file != TGSI_FILE_INPUT) in lp_linear_check_sampler()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c340 info->indirect_files |= (1 << TGSI_FILE_INPUT); in scan_instruction()
572 info->indirect_files |= 1 << TGSI_FILE_INPUT; in nir_tgsi_scan_shader()
573 info->file_max[TGSI_FILE_INPUT] = info->num_inputs - 1; in nir_tgsi_scan_shader()
575 int max = info->file_max[TGSI_FILE_INPUT] = -1; in nir_tgsi_scan_shader()
581 info->file_max[TGSI_FILE_INPUT] = max; in nir_tgsi_scan_shader()
Dtgsi_to_nir.c290 assert(file == TGSI_FILE_INPUT || in ttn_emit_declaration()
304 if ((file == TGSI_FILE_INPUT) || (file == TGSI_FILE_OUTPUT)) { in ttn_emit_declaration()
320 case TGSI_FILE_INPUT: in ttn_emit_declaration()
657 case TGSI_FILE_INPUT: in ttn_src_for_file_and_index()
2333 s->num_inputs = scan.file_max[TGSI_FILE_INPUT] + 1; in ttn_compile_init()
/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()
2837 if (file == TGSI_FILE_INPUT) { in emit_dump_file()
2863 } else if (file == TGSI_FILE_INPUT) { in emit_dump_file()
4302 if (bld->indirect_files & (1 << TGSI_FILE_INPUT) && in emit_prologue()
4307 bld_base->info->file_max[TGSI_FILE_INPUT]*4 + 4); in emit_prologue()
4313 <= bld_base->info->file_max[TGSI_FILE_INPUT] + 1); in emit_prologue()
4356 emit_dump_file(bld, TGSI_FILE_INPUT); in emit_prologue()
4490 bld.bld_base.emit_fetch_funcs[TGSI_FILE_INPUT] = emit_fetch_input; in lp_build_tgsi_soa()
4583 bld.indirect_files |= (1 << TGSI_FILE_INPUT); in lp_build_tgsi_soa()
4585 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/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()
Dnvfx_vertprog.c371 case TGSI_FILE_INPUT: in tgsi_src()
408 fsrc->Register.File == TGSI_FILE_INPUT)) { in tgsi_src()
492 case TGSI_FILE_INPUT: in nvfx_vertprog_parse_instruction()
/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/svga/
Dsvga_tgsi_vgpu10.c1087 case TGSI_FILE_INPUT: in translate_register_file()
1575 if (file == TGSI_FILE_INPUT) { in emit_src_register()
1623 file = TGSI_FILE_INPUT; in emit_src_register()
1629 if (file == TGSI_FILE_INPUT) { in emit_src_register()
1645 if (file == TGSI_FILE_INPUT) { in emit_src_register()
1668 file = TGSI_FILE_INPUT; in emit_src_register()
1718 else if (file == TGSI_FILE_INPUT) { in emit_src_register()
1811 else if (file == TGSI_FILE_INPUT) { in emit_src_register()
3586 emit->info.indirect_files & (1 << TGSI_FILE_INPUT) ? TRUE : FALSE; in emit_hull_shader_patch_constant_phase()
4860 case TGSI_FILE_INPUT: in emit_vgpu10_declaration()
[all …]
/third_party/mesa3d/src/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()
3056 if (src.getFile() != TGSI_FILE_INPUT) { in handleINTERP()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c528 case TGSI_FILE_INPUT: in tgsi_is_supported()
1084 case TGSI_FILE_INPUT: in tgsi_declaration()
1092 ctx->shader->input[i].gpr = ctx->file_offset[TGSI_FILE_INPUT] + d->Range.First + j; in tgsi_declaration()
2002 if (src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_gs_inputs()
2009 if (src->Register.File == TGSI_FILE_INPUT && src->Register.Dimension) { in tgsi_split_gs_inputs()
2091 if (reg.Register.File == TGSI_FILE_INPUT) { in r600_get_byte_address()
2292 if (ctx->type == PIPE_SHADER_TESS_EVAL && src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_lds_inputs()
2298 if (ctx->type == PIPE_SHADER_TESS_CTRL && src->Register.File == TGSI_FILE_INPUT) { in tgsi_split_lds_inputs()
3581 ctx.file_offset[TGSI_FILE_INPUT] = 1; in r600_shader_from_tgsi()
3587 ctx.file_offset[TGSI_FILE_INPUT] = evergreen_gpr_count(&ctx); in r600_shader_from_tgsi()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c136 case TGSI_FILE_INPUT: return RC_FILE_INPUT; in translate_register_file()

12