Home
last modified time | relevance | path

Searched refs:shader_info (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c44 struct radv_userdata_info *ud_info = &args->shader_info->user_sgprs_locs.shader_data[idx]; in set_loc_shader()
61 struct radv_userdata_locations *locs = &args->shader_info->user_sgprs_locs; in set_loc_desc()
82 if (args->shader_info->uses_view_index || in needs_view_index_sgpr()
83 (!args->shader_info->vs.as_es && !args->shader_info->vs.as_ls && in needs_view_index_sgpr()
88 if (args->shader_info->uses_view_index || in needs_view_index_sgpr()
89 (!args->shader_info->tes.as_es && args->options->key.has_multiview_view_index)) in needs_view_index_sgpr()
93 if (args->shader_info->uses_view_index) in needs_view_index_sgpr()
97 if (args->shader_info->uses_view_index || in needs_view_index_sgpr()
98 (args->shader_info->is_ngg && args->options->key.has_multiview_view_index)) in needs_view_index_sgpr()
112 if (args->shader_info->vs.vb_desc_usage_mask) in count_vs_user_sgprs()
[all …]
Dradv_nir_to_llvm.c114 struct radv_userdata_locations *user_sgprs_locs = &ctx->args->shader_info->user_sgprs_locs; in load_descriptor_sets()
115 uint32_t mask = ctx->args->shader_info->desc_set_used_mask; in load_descriptor_sets()
171 if (is_pre_gs_stage(stage) && ctx->args->shader_info->is_ngg) { in create_function()
192 (stage == MESA_SHADER_VERTEX && ctx->args->shader_info->vs.as_ls) || in create_function()
279 if (ctx->args->shader_info->ps.uses_sample_shading) { in load_sample_mask_in()
309 if (ctx->args->shader_info->is_ngg) { in visit_emit_vertex_with_counter()
315 unsigned output_usage_mask = ctx->args->shader_info->gs.output_usage_mask[i]; in visit_emit_vertex_with_counter()
316 uint8_t output_stream = ctx->args->shader_info->gs.output_streams[i]; in visit_emit_vertex_with_counter()
354 if (ctx->args->shader_info->is_ngg) { in visit_end_primitive()
693 ctx->args->shader_info->vs.input_usage_mask[driver_location]; in load_vs_input()
[all …]
Dradv_shader_args.h33 struct radv_shader_info *shader_info; member
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.h191 pan_shader_prepare_rsd(const struct pan_shader_info *shader_info, in pan_shader_prepare_rsd() argument
196 shader_ptr |= shader_info->midgard.first_tag; in pan_shader_prepare_rsd()
200 rsd->shader.attribute_count = shader_info->attribute_count; in pan_shader_prepare_rsd()
201 rsd->shader.varying_count = shader_info->varyings.input_count + in pan_shader_prepare_rsd()
202 shader_info->varyings.output_count; in pan_shader_prepare_rsd()
203 rsd->shader.texture_count = shader_info->texture_count; in pan_shader_prepare_rsd()
204 rsd->shader.sampler_count = shader_info->sampler_count; in pan_shader_prepare_rsd()
205 rsd->properties.shader_contains_barrier = shader_info->contains_barrier; in pan_shader_prepare_rsd()
206 rsd->properties.uniform_buffer_count = shader_info->ubo_count; in pan_shader_prepare_rsd()
208 if (shader_info->stage == MESA_SHADER_FRAGMENT) { in pan_shader_prepare_rsd()
[all …]
Dpan_indirect_dispatch.c222 struct pan_shader_info shader_info; in GENX() local
226 GENX(pan_shader_compile)(b.shader, &inputs, &binary, &shader_info); in GENX()
230 assert(!shader_info.tls_size); in GENX()
231 assert(!shader_info.wls_size); in GENX()
232 assert(!shader_info.sysvals.sysval_count); in GENX()
241 dev->indirect_dispatch.push = shader_info.push; in GENX()
251 address |= shader_info.midgard.first_tag; in GENX()
256 pan_shader_prepare_rsd(&shader_info, address, &cfg); in GENX()
Dpan_indirect_draw.c1102 struct pan_shader_info shader_info; in create_indirect_draw_shader() local
1106 GENX(pan_shader_compile)(b->shader, &inputs, &binary, &shader_info); in create_indirect_draw_shader()
1108 assert(!shader_info.tls_size); in create_indirect_draw_shader()
1109 assert(!shader_info.wls_size); in create_indirect_draw_shader()
1110 assert(!shader_info.sysvals.sysval_count); in create_indirect_draw_shader()
1126 address |= shader_info.midgard.first_tag; in create_indirect_draw_shader()
1132 pan_shader_prepare_rsd(&shader_info, address, &cfg); in create_indirect_draw_shader()
1135 draw_shader->push = shader_info.push; in create_indirect_draw_shader()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_clear.c39 struct pan_shader_info *shader_info) in panvk_meta_clear_color_attachment_shader() argument
70 GENX(pan_shader_compile)(b.shader, &inputs, &binary, shader_info); in panvk_meta_clear_color_attachment_shader()
73 assert(shader_info->ubo_count == 1); in panvk_meta_clear_color_attachment_shader()
74 assert(shader_info->push.count == 4); in panvk_meta_clear_color_attachment_shader()
91 struct pan_shader_info *shader_info) in panvk_meta_clear_zs_attachment_shader() argument
138 GENX(pan_shader_compile)(b.shader, &inputs, &binary, shader_info); in panvk_meta_clear_zs_attachment_shader()
141 assert(shader_info->ubo_count == 1); in panvk_meta_clear_zs_attachment_shader()
142 assert(shader_info->push.count == 2); in panvk_meta_clear_zs_attachment_shader()
159 struct pan_shader_info *shader_info, in panvk_meta_clear_attachments_emit_rsd() argument
169 pan_shader_prepare_rsd(shader_info, shader, &cfg); in panvk_meta_clear_attachments_emit_rsd()
[all …]
Dpanvk_vX_meta_copy.c244 const struct pan_shader_info *shader_info, in panvk_meta_copy_to_img_emit_rsd() argument
259 pan_shader_prepare_rsd(shader_info, shader, &cfg); in panvk_meta_copy_to_img_emit_rsd()
287 cfg.properties.work_register_count = shader_info->work_reg_count; in panvk_meta_copy_to_img_emit_rsd()
372 const struct pan_shader_info *shader_info, in panvk_meta_copy_to_buf_emit_rsd() argument
380 pan_shader_prepare_rsd(shader_info, shader, &cfg); in panvk_meta_copy_to_buf_emit_rsd()
396 struct pan_shader_info *shader_info) in panvk_meta_copy_img2img_shader() argument
546 GENX(pan_shader_compile)(b.shader, &inputs, &binary, shader_info); in panvk_meta_copy_img2img_shader()
548 shader_info->fs.sample_shading = is_ms; in panvk_meta_copy_img2img_shader()
820 struct pan_shader_info shader_info; in panvk_meta_copy_img2img_init() local
826 texdim, false, is_ms, &shader_info); in panvk_meta_copy_img2img_init()
[all …]
Dpanvk_vX_cs.h115 const struct pan_shader_info *shader_info,
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp276 assert(!ctx->args->shader_info->so.num_outputs); in setup_vs_variables()
304 ctx->tcs_in_out_eq = ctx->args->shader_info->vs.tcs_in_out_eq; in setup_tcs_info()
305 ctx->tcs_temp_only_inputs = ctx->args->shader_info->vs.tcs_temp_only_input_mask; in setup_tcs_info()
306 ctx->tcs_num_patches = ctx->args->shader_info->num_tess_patches; in setup_tcs_info()
307 ctx->program->config->lds_size = ctx->args->shader_info->tcs.num_lds_blocks; in setup_tcs_info()
313 ctx->tcs_num_patches = ctx->args->shader_info->num_tess_patches; in setup_tes_variables()
320 assert(!ctx->args->shader_info->so.num_outputs); in setup_tes_variables()
391 if (ctx->shader->info.stage == MESA_SHADER_COMPUTE && ctx->args->shader_info->cs.subgroup_size) { in init_context()
392 ctx->ub_config.min_subgroup_size = ctx->args->shader_info->cs.subgroup_size; in init_context()
393 ctx->ub_config.max_subgroup_size = ctx->args->shader_info->cs.subgroup_size; in init_context()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkcolorconvert.h41 typedef struct _shader_info shader_info; typedef
43 typedef GstMemory * (*CommandCreateUniformMemory) (GstVulkanColorConvert * conv, shader_info * sinf…
63 shader_info *current_shader;
Dvkcolorconvert.c52 static shader_info shader_infos[N_SHADER_INFO];
647 shader_info * sinfo, GstVulkanImageView ** in_views, in swizzle_rgb_create_uniform_memory()
701 shader_info * sinfo, GstVulkanImageView ** in_views, in yuv_to_rgb_create_uniform_memory()
749 unref_memory_if_set (shader_info * sinfo) in unref_memory_if_set()
849 shader_infos[info_i++] = (shader_info) { in fill_shader_info()
864 shader_infos[info_i++] = (shader_info) { in fill_shader_info()
875 shader_infos[info_i++] = (shader_info) { in fill_shader_info()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_screen.h48 struct shader_info;
121 const struct shader_info *info,
127 const struct shader_info *info,
131 const struct shader_info *info,
135 const struct shader_info *info,
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_screen.h120 const struct shader_info *info,
126 const struct shader_info *info,
130 const struct shader_info *info,
134 const struct shader_info *info,
Diris_resource.h35 struct shader_info;
487 const struct shader_info *info);
Diris_resolve.c88 const struct shader_info *info, in resolve_sampler_views()
120 const struct shader_info *info, in resolve_image_views()
168 const struct shader_info *info = iris_get_shader_info(ice, stage); in iris_predraw_resolve_inputs()
911 const struct shader_info *info) in iris_image_view_aux_usage()
/third_party/mesa3d/src/freedreno/decode/
Dpgmdump2.c142 struct shader_info;
143 static void decode_shader_info(struct state *state, struct shader_info *info);
209 O(hdr, fs_info, shader_info); in decode_header()
212 O(hdr, vs_info, shader_info); in decode_header()
219 O(hdr, bs_info, shader_info); in decode_header()
416 struct PACKED shader_info { struct
423 decode_shader_info(struct state *state, struct shader_info *info) in decode_shader_info() argument
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_link.cpp167 unify_interfaces(struct shader_info **infos) in unify_interfaces()
169 struct shader_info *prev_info = NULL; in unify_interfaces()
190 struct shader_info *info) in update_xfb_info()
230 struct shader_info *infos[MESA_SHADER_STAGES] = { 0, }; in brw_link_shader()
/third_party/mesa3d/src/compiler/
Dshader_info.h119 typedef struct shader_info { struct
485 } shader_info; typedef
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.h53 struct shader_info *ir3_get_shader_info(struct ir3_shader_state *hwcso);
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_draw.c141 struct shader_info *gs_info = ir3_get_shader_info(ctx->prog.gs); in fd6_draw_vbo()
177 struct shader_info *ds_info = ir3_get_shader_info(emit.key.ds); in fd6_draw_vbo()
181 struct shader_info *fs_info = ir3_get_shader_info(emit.key.fs); in fd6_draw_vbo()
254 shader_info *ds_info = &emit.ds->shader->nir->info; in fd6_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_debug.h48 shader_info = 1 << 4, enumerator
Dsfn_debug.cpp64 {"si", SfnLog::shader_info, "Log shader info (non-zero values)"},
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c122 record_images_used(struct shader_info *info, in record_images_used()
225 record_textures_used(struct shader_info *info, in record_textures_used()
/third_party/mesa3d/docs/relnotes/
D17.2.1.rst158 - compiler: move pointers to the start of shader_info
159 - glsl: stop adding pointers from shader_info to the cache

1234