Home
last modified time | relevance | path

Searched refs:glsl_get_aoa_size (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_samplers_as_deref.c130 glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in record_images_used()
245 glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in record_textures_used()
267 glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in record_samplers_used()
Dgl_nir_lower_images.c45 s = glsl_get_aoa_size(type); in type_size_align_1()
Dgl_nir_lower_atomics.c122 array_stride *= glsl_get_aoa_size(d->type); in lower_deref_instr()
Dgl_nir_link_uniform_blocks.c432 unsigned aoa_size = glsl_get_aoa_size(var->type); in allocate_uniform_blocks()
571 unsigned aoa_size = glsl_get_aoa_size(var->type); in link_linked_shader_uniform_blocks()
Dgl_nir_link_uniforms.c489 unsigned num_bits = MAX2(1, glsl_get_aoa_size(deref->var->type)); in add_var_use_deref()
679 unsigned num_params = glsl_get_aoa_size(type); in add_parameter()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_ray_queries.c88 unsigned aoa_size = glsl_get_aoa_size(opaque_var->type); in maybe_create_brw_var()
132 MAX2(1, glsl_get_aoa_size((*p)->type)); in get_ray_query_shadow_addr()
138 uint64_t size = MAX2(1, glsl_get_aoa_size((*p)->type)) * in get_ray_query_shadow_addr()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c162 info->rows = glsl_get_aoa_size(type); in get_additional_semantic_info()
174 unsigned num_floats = glsl_get_aoa_size(type); in get_additional_semantic_info()
684 switch (glsl_get_aoa_size(var->type)) { in patch_sysvalue_name()
697 switch (glsl_get_aoa_size(var->type)) { in patch_sysvalue_name()
Dnir_to_dxil.c4483 dxil_module_get_int32_const(&ctx->mod, glsl_get_aoa_size(instr->type)), 0); in emit_deref()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io_arrays_to_elements.c67 glsl_get_aoa_size((*p)->type) : 1; in get_io_offset()
98 glsl_get_aoa_size(type) : 1; in get_array_elements()
Dnir_split_64bit_vec3_and_vec4.c151 unsigned array_size = glsl_get_aoa_size(old_var->type); in get_var_pair()
Dnir_gather_info.c1021 shader->info.ray_queries += MAX2(glsl_get_aoa_size(var->type), 1); in nir_shader_gather_info()
1030 shader->info.ray_queries += MAX2(glsl_get_aoa_size(var->type), 1); in nir_shader_gather_info()
Dnir_gather_xfb_info.c244 unsigned aoa_size = glsl_get_aoa_size(var->type); in nir_gather_xfb_info_with_varyings()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c232 unsigned size = glsl_get_aoa_size(var->type); in lower_vri_instr_tex_deref()
285 unsigned size = glsl_get_aoa_size(var->type); in lower_vri_intrin_image()
Dlvp_pipeline.c142 const unsigned size = glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in set_image_access()
177 const unsigned size = glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in set_buffer_access()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_apply_pipeline_layout.c251 unsigned array_size = MAX2(glsl_get_aoa_size(deref->type), 1); in get_sampler_desc()
290 unsigned array_size = MAX2(glsl_get_aoa_size(deref->type), 1); in get_sampler_desc()
/third_party/mesa3d/src/compiler/
Dnir_types.h97 unsigned glsl_get_aoa_size(const struct glsl_type *type);
Dnir_types.cpp175 glsl_get_aoa_size(const struct glsl_type *type) in glsl_get_aoa_size() function
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.cpp167 unsigned count = glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in compile_nir()
178 unsigned count = glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in compile_nir()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp329 array_stride *= glsl_get_aoa_size(d->type); in r600_lower_deref_instr()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c355 unsigned aoa_size = glsl_get_aoa_size(type->type); in vtn_pointer_dereference()
367 unsigned aoa_size = glsl_get_aoa_size(type->array_element->type); in vtn_pointer_dereference()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c2780 glsl_type_is_array(var->type) ? glsl_get_aoa_size(var->type) : 1; in scan_nir()
2905 unsigned size = glsl_type_is_array(img->type) ? glsl_get_aoa_size(img->type) : 1; in match_tex_dests_instr()
3171 … ret->bindings[ztype][ret->num_bindings[ztype]].size = glsl_get_aoa_size(var->type); in zink_shader_create()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c925 … emit_uint_const(ctx, 32, glsl_get_aoa_size(var->type))); in emit_image()
927 ctx->sampler_array_sizes[index] = glsl_get_aoa_size(var->type); in emit_image()
2370 …wrmask != BITFIELD_MASK(glsl_type_is_array(gtype) ? glsl_get_aoa_size(gtype) : glsl_get_vector_ele… in emit_store_deref()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c586 unsigned num_images = MAX2(1, glsl_get_aoa_size(var->type)); in iris_setup_uniforms()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c549 unsigned num_images = MAX2(1, glsl_get_aoa_size(var->type)); in crocus_setup_uniforms()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c1026 array_size = MAX2(1, glsl_get_aoa_size(var->type)); in ntt_setup_uniforms()

12