Home
last modified time | relevance | path

Searched refs:outinfo (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c364 return &info->vs.outinfo; in get_vs_output_info()
367 return &info->vs.outinfo; in get_vs_output_info()
371 return &info->tes.outinfo; in get_vs_output_info()
374 return &info->ms.outinfo; in get_vs_output_info()
429 assign_outinfo_param(struct radv_vs_output_info *outinfo, gl_varying_slot idx, in assign_outinfo_param() argument
432 if (outinfo->vs_output_param_offset[idx] == AC_EXP_PARAM_UNDEFINED) in assign_outinfo_param()
433 outinfo->vs_output_param_offset[idx] = (*total_param_exports)++; in assign_outinfo_param()
437 assign_outinfo_params(struct radv_vs_output_info *outinfo, uint64_t mask, in assign_outinfo_params() argument
444 outinfo->export_clip_dists)) in assign_outinfo_params()
445 assign_outinfo_param(outinfo, idx, total_param_exports); in assign_outinfo_params()
[all …]
Dradv_nir_to_llvm.c871 unsigned noutput, const struct radv_vs_output_info *outinfo, in radv_build_param_exports() argument
887 radv_export_param(ctx, outinfo->vs_output_param_offset[slot_name], outputs[i].values, in radv_build_param_exports()
897 unsigned noutput, const struct radv_vs_output_info *outinfo, in radv_llvm_export_vs() argument
948 if (outinfo->writes_pointsize || outinfo->writes_layer || outinfo->writes_layer || in radv_llvm_export_vs()
949 outinfo->writes_viewport_index || outinfo->writes_primitive_shading_rate) { in radv_llvm_export_vs()
950 pos_args[1].enabled_channels = ((outinfo->writes_pointsize == true ? 1 : 0) | in radv_llvm_export_vs()
951 (outinfo->writes_primitive_shading_rate == true ? 2 : 0) | in radv_llvm_export_vs()
952 (outinfo->writes_layer == true ? 4 : 0)); in radv_llvm_export_vs()
962 if (outinfo->writes_pointsize == true) in radv_llvm_export_vs()
964 if (outinfo->writes_layer == true) in radv_llvm_export_vs()
[all …]
Dradv_pipeline.c2570 …if (!stages[MESA_SHADER_TESS_CTRL].nir && stages[MESA_SHADER_VERTEX].info.vs.outinfo.export_prim_i… in gfx10_get_ngg_info()
2774 return &pipeline->base.shaders[MESA_SHADER_GEOMETRY]->info.vs.outinfo; in get_vs_output_info()
2776 return &pipeline->base.gs_copy_shader->info.vs.outinfo; in get_vs_output_info()
2778 return &pipeline->base.shaders[MESA_SHADER_TESS_EVAL]->info.tes.outinfo; in get_vs_output_info()
2780 return &pipeline->base.shaders[MESA_SHADER_MESH]->info.ms.outinfo; in get_vs_output_info()
2782 return &pipeline->base.shaders[MESA_SHADER_VERTEX]->info.vs.outinfo; in get_vs_output_info()
3449 if (es_stage == MESA_SHADER_VERTEX && stages[es_stage].info.vs.outinfo.export_prim_id) in radv_determine_ngg_settings()
3460 stages[es_stage].info.vs.outinfo.export_prim_id); in radv_determine_ngg_settings()
3564 struct radv_vs_output_info *outinfo = NULL; in radv_fill_shader_info() local
3567 outinfo = &pre_ps_info->vs.outinfo; in radv_fill_shader_info()
[all …]
Dradv_aco_shader_info.h68 #define ASSIGN_OUTINFO(x) radv_aco_convert_shader_vp_info(&aco_info->x.outinfo, &radv->x.outinfo);
Dradv_shader.h266 struct radv_vs_output_info outinfo; member
295 struct radv_vs_output_info outinfo; member
370 struct radv_vs_output_info outinfo; member
Dradv_shader.c1293 if (info->tes.outinfo.export_prim_id) in radv_lower_ngg()
1330 export_prim_id = info->vs.outinfo.export_prim_id; in radv_lower_ngg()
1332 export_prim_id = info->tes.outinfo.export_prim_id; in radv_lower_ngg()
1714 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1769 } else if (info->vs.outinfo.export_prim_id) { in radv_postprocess_config()
1829 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1854 info->vs.outinfo.export_prim_id)) { in radv_postprocess_config()
/third_party/mesa3d/src/amd/compiler/
Daco_shader_info.h111 struct aco_vp_output_info outinfo; member
131 struct aco_vp_output_info outinfo; member
146 struct aco_vp_output_info outinfo; member
Daco_instruction_selection_setup.cpp251 const aco_vp_output_info* outinfo) in setup_vs_output_info() argument
253 ctx->export_clip_dists = outinfo->export_clip_dists; in setup_vs_output_info()
254 ctx->num_clip_distances = util_bitcount(outinfo->clip_dist_mask); in setup_vs_output_info()
255 ctx->num_cull_distances = util_bitcount(outinfo->cull_dist_mask); in setup_vs_output_info()
265 ctx->program->early_rast = ctx->program->gfx_level >= GFX10 && outinfo->param_exports == 0; in setup_vs_output_info()
272 setup_vs_output_info(ctx, nir, &ctx->program->info.vs.outinfo); in setup_vs_variables()
294 setup_vs_output_info(ctx, nir, &ctx->program->info.vs.outinfo); in setup_gs_variables()
316 setup_vs_output_info(ctx, nir, &ctx->program->info.tes.outinfo); in setup_tes_variables()
334 setup_vs_output_info(ctx, nir, &ctx->program->info.ms.outinfo); in setup_ms_variables()
923 setup_vs_output_info(&ctx, shaders[0], &program->info.vs.outinfo); in setup_isel_context()
Daco_instruction_selection.cpp10890 ctx->stage.has(SWStage::GS) ? ctx->program->info.vs.outinfo.vs_output_param_offset : in export_vs_varying()
10891 ctx->stage.has(SWStage::TES) ? ctx->program->info.tes.outinfo.vs_output_param_offset : in export_vs_varying()
10892 ctx->stage.has(SWStage::MS) ? ctx->program->info.ms.outinfo.vs_output_param_offset : in export_vs_varying()
10893 ctx->program->info.vs.outinfo.vs_output_param_offset; in export_vs_varying()
10927 const aco_vp_output_info* outinfo) in export_vs_psiz_layer_viewport_vrs() argument
10938 if (ctx->outputs.mask[VARYING_SLOT_LAYER] && !outinfo->writes_layer_per_primitive) { in export_vs_psiz_layer_viewport_vrs()
10942 if (ctx->outputs.mask[VARYING_SLOT_VIEWPORT] && !outinfo->writes_viewport_index_per_primitive) { in export_vs_psiz_layer_viewport_vrs()
10974 const aco_vp_output_info* outinfo = in create_vs_exports() local
10975 ctx->stage.has(SWStage::GS) ? &ctx->program->info.vs.outinfo : in create_vs_exports()
10976 ctx->stage.has(SWStage::TES) ? &ctx->program->info.tes.outinfo : in create_vs_exports()
[all …]
/third_party/libsnd/tests/
Dcommand_test.c1056 SF_INFO outinfo, ininfo ; in current_sf_info_test() local
1060 outinfo.samplerate = 44100 ; in current_sf_info_test()
1061 outinfo.format = (SF_FORMAT_WAV | SF_FORMAT_PCM_16) ; in current_sf_info_test()
1062 outinfo.channels = 1 ; in current_sf_info_test()
1063 outinfo.frames = 0 ; in current_sf_info_test()
1065 outfile = test_open_file_or_die (filename, SFM_WRITE, &outinfo, SF_TRUE, __LINE__) ; in current_sf_info_test()
1068 exit_if_true (outinfo.frames != 0, in current_sf_info_test()
1073 sf_command (outfile, SFC_GET_CURRENT_SF_INFO, &outinfo, sizeof (outinfo)) ; in current_sf_info_test()
1075 exit_if_true (outinfo.frames != BUFFER_LEN, in current_sf_info_test()
1077 outinfo.frames, BUFFER_LEN in current_sf_info_test()
/third_party/mesa3d/docs/relnotes/
D22.0.0.rst4235 - aco: Use the correct outinfo for mesh shaders.
D21.3.0.rst3900 - radv: remove unnecessary init of outinfo.export_prim_id for GS