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.c496 return &info->vs.outinfo; in get_vs_output_info()
499 return &info->vs.outinfo; in get_vs_output_info()
503 return &info->tes.outinfo; in get_vs_output_info()
646 info->vs.outinfo.writes_layer = true; in radv_nir_shader_info_pass()
649 info->tes.outinfo.writes_layer = true; in radv_nir_shader_info_pass()
652 info->vs.outinfo.writes_layer = true; in radv_nir_shader_info_pass()
659 struct radv_vs_output_info *outinfo = get_vs_output_info(nir, info); in radv_nir_shader_info_pass() local
660 if (outinfo) { in radv_nir_shader_info_pass()
662 outinfo->writes_primitive_shading_rate || device->force_vrs != RADV_FORCE_VRS_NONE; in radv_nir_shader_info_pass()
665 if (outinfo->writes_pointsize || outinfo->writes_viewport_index || outinfo->writes_layer || in radv_nir_shader_info_pass()
[all …]
Dradv_nir_to_llvm.c1186 unsigned noutput, struct radv_vs_output_info *outinfo, in radv_build_param_exports() argument
1202 radv_export_param(ctx, outinfo->vs_output_param_offset[slot_name], outputs[i].values, in radv_build_param_exports()
1212 unsigned noutput, struct radv_vs_output_info *outinfo, bool export_clip_dists) in radv_llvm_export_vs() argument
1262 bool writes_primitive_shading_rate = outinfo->writes_primitive_shading_rate || in radv_llvm_export_vs()
1265 if (outinfo->writes_pointsize || outinfo->writes_layer || outinfo->writes_layer || in radv_llvm_export_vs()
1266 outinfo->writes_viewport_index || writes_primitive_shading_rate) { in radv_llvm_export_vs()
1267 pos_args[1].enabled_channels = ((outinfo->writes_pointsize == true ? 1 : 0) | in radv_llvm_export_vs()
1269 (outinfo->writes_layer == true ? 4 : 0)); in radv_llvm_export_vs()
1279 if (outinfo->writes_pointsize == true) in radv_llvm_export_vs()
1281 if (outinfo->writes_layer == true) in radv_llvm_export_vs()
[all …]
Dradv_pipeline.c2074 if (!nir[MESA_SHADER_TESS_CTRL] && infos[MESA_SHADER_VERTEX].vs.outinfo.export_prim_id) in gfx10_get_ngg_info()
2279 return &pipeline->shaders[MESA_SHADER_GEOMETRY]->info.vs.outinfo; in get_vs_output_info()
2281 return &pipeline->gs_copy_shader->info.vs.outinfo; in get_vs_output_info()
2283 return &pipeline->shaders[MESA_SHADER_TESS_EVAL]->info.tes.outinfo; in get_vs_output_info()
2285 return &pipeline->shaders[MESA_SHADER_VERTEX]->info.vs.outinfo; in get_vs_output_info()
2771 if (es_stage == MESA_SHADER_VERTEX && infos[es_stage].vs.outinfo.export_prim_id) in radv_determine_ngg_settings()
2783 infos[es_stage].vs.outinfo.export_prim_id); in radv_determine_ngg_settings()
2871 infos[MESA_SHADER_VERTEX].vs.outinfo.export_prim_id = true; in radv_fill_shader_info()
2873 infos[MESA_SHADER_TESS_EVAL].tes.outinfo.export_prim_id = true; in radv_fill_shader_info()
2881 infos[MESA_SHADER_VERTEX].vs.outinfo.export_clip_dists = true; in radv_fill_shader_info()
[all …]
Dradv_shader.h255 struct radv_vs_output_info outinfo; member
284 struct radv_vs_output_info outinfo; member
Dradv_shader.c969 if (info->tes.outinfo.export_prim_id) in radv_lower_ngg()
999 export_prim_id = info->vs.outinfo.export_prim_id; in radv_lower_ngg()
1001 export_prim_id = info->tes.outinfo.export_prim_id; in radv_lower_ngg()
1390 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1441 } else if (info->vs.outinfo.export_prim_id) { in radv_postprocess_config()
1495 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1506 info->vs.outinfo.export_prim_id)) { in radv_postprocess_config()
/third_party/gstreamer/gstplugins_base/tests/icles/
Dbenchmark-video-conversion.c72 GstVideoInfo outinfo; in do_benchmark_conversions() local
84 gst_video_info_set_format (&outinfo, outfmt, width, height); in do_benchmark_conversions()
85 outbuffer = gst_buffer_new_and_alloc (outinfo.size); in do_benchmark_conversions()
86 gst_video_frame_map (&outframe, &outinfo, outbuffer, GST_MAP_WRITE); in do_benchmark_conversions()
88 convert = gst_video_converter_new (&ininfo, &outinfo, NULL); in do_benchmark_conversions()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp251 const radv_vs_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->chip_class >= 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()
900 setup_vs_output_info(&ctx, shaders[0], &args->shader_info->vs.outinfo); in setup_isel_context()
Daco_instruction_selection.cpp10647 ? ctx->program->info->tes.outinfo.vs_output_param_offset[slot] in export_vs_varying()
10648 : ctx->program->info->vs.outinfo.vs_output_param_offset[slot]; in export_vs_varying()
10749 …const radv_vs_output_info* outinfo = (ctx->stage.has(SWStage::TES) && !ctx->stage.has(SWStage::GS)) in create_vs_exports() local
10750 ? &ctx->program->info->tes.outinfo in create_vs_exports()
10751 : &ctx->program->info->vs.outinfo; in create_vs_exports()
10755 if (outinfo->export_prim_id && ctx->stage.hw != HWStage::NGG) { in create_vs_exports()
10781 outinfo->writes_primitive_shading_rate || ctx->options->force_vrs_rates; in create_vs_exports()
10782 if (outinfo->writes_pointsize || outinfo->writes_layer || outinfo->writes_viewport_index || in create_vs_exports()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideo.c2541 GstVideoInfo outinfo; in run_video_color_convert() local
2552 fail_unless (gst_video_info_set_format (&outinfo, outfmt, WIDTH, HEIGHT)); in run_video_color_convert()
2553 outbuffer = gst_buffer_new_and_alloc (outinfo.size); in run_video_color_convert()
2554 gst_video_frame_map (&outframe, &outinfo, outbuffer, GST_MAP_WRITE); in run_video_color_convert()
2556 convert = gst_video_converter_new (&ininfo, &outinfo, NULL); in run_video_color_convert()
2631 GstVideoInfo ininfo, outinfo; in GST_START_TEST() local
2646 fail_unless (gst_video_info_set_format (&outinfo, outfmt, WIDTH_OUT, in GST_START_TEST()
2648 outbuffer = gst_buffer_new_and_alloc (outinfo.size); in GST_START_TEST()
2649 gst_video_frame_map (&outframe, &outinfo, outbuffer, GST_MAP_WRITE); in GST_START_TEST()
2652 convert = gst_video_converter_new (&ininfo, &outinfo, in GST_START_TEST()
[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/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_indata.c183 struct sctp_sndrcvinfo *outinfo; in sctp_build_ctl_nchunk() local
293 outinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmh); in sctp_build_ctl_nchunk()
297 memcpy(outinfo, sinfo, sizeof(struct sctp_extrcvinfo)); in sctp_build_ctl_nchunk()
302 *outinfo = *sinfo; in sctp_build_ctl_nchunk()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst3900 - radv: remove unnecessary init of outinfo.export_prim_id for GS