Home
last modified time | relevance | path

Searched refs:glsl_without_array (Results 1 – 25 of 43) sorted by relevance

12

/external/mesa3d/src/compiler/nir/
Dnir_lower_io_arrays_to_elements.c69 num_elements *= glsl_type_is_matrix(glsl_without_array((*p)->type)) ? in get_io_offset()
70 glsl_get_matrix_columns(glsl_without_array((*p)->type)) : 1; in get_io_offset()
100 num_elements *= glsl_type_is_matrix(glsl_without_array(type)) ? in get_array_elements()
101 glsl_get_matrix_columns(glsl_without_array(type)) : 1; in get_array_elements()
148 const struct glsl_type *type = glsl_without_array(element->type); in lower_array()
330 glsl_type_is_struct_or_ifc(glsl_without_array(type))) in lower_io_arrays_to_elements()
Dnir_gather_info.c255 (glsl_type_is_numeric(glsl_without_array(type)) || in try_mask_partial_io()
256 glsl_type_is_boolean(glsl_without_array(type)))))) { in try_mask_partial_io()
273 if (glsl_type_is_matrix(glsl_without_array(type))) in try_mask_partial_io()
274 mat_cols = glsl_get_matrix_columns(glsl_without_array(type)); in try_mask_partial_io()
280 if (glsl_type_is_dual_slot(glsl_without_array(type))) in try_mask_partial_io()
373 glsl_type_is_dual_slot(glsl_without_array(var->type))) { in gather_intrinsic_info()
786 const struct glsl_type *image_type = glsl_without_array(var->type); in nir_shader_gather_info()
Dnir_lower_io_to_vector.c112 a_type_tail = glsl_without_array(a_type_tail); in variables_can_merge()
113 b_type_tail = glsl_without_array(b_type_tail); in variables_can_merge()
178 if (!glsl_type_is_vector_or_scalar(glsl_without_array(var->type))) { in get_flat_type()
184 glsl_without_array(get_per_vertex_type(shader, var, NULL))); in get_flat_type()
252 glsl_get_components(glsl_without_array(var->type)); in create_new_io_vars()
Dnir_opt_access.c74 if (glsl_get_sampler_dim(glsl_without_array(var->type)) == in gather_intrinsic()
261 glsl_get_sampler_dim(glsl_without_array(var->type)) == GLSL_SAMPLER_DIM_BUF; in process_intrinsic()
Dnir_lower_io_to_scalar.c328 if (glsl_type_is_64bit(glsl_without_array(var->type))) in nir_lower_io_to_scalar_early_instr()
344 if (glsl_type_is_matrix(glsl_without_array(var->type)) || in nir_lower_io_to_scalar_early_instr()
345 glsl_type_is_struct_or_ifc(glsl_without_array(var->type))) in nir_lower_io_to_scalar_early_instr()
Dnir_linking_helpers.c65 if (glsl_type_is_struct_or_ifc(glsl_without_array(var->type))) in get_num_components()
68 return glsl_get_vector_elements(glsl_without_array(var->type)); in get_num_components()
296 glsl_type_is_vector_or_scalar(glsl_without_array(type)) ? in get_unmoveable_components_masks()
297 glsl_get_vector_elements(glsl_without_array(type)) : 4; in get_unmoveable_components_masks()
299 bool dual_slot = glsl_type_is_dual_slot(glsl_without_array(type)); in get_unmoveable_components_masks()
301 unsigned dmul = glsl_type_is_64bit(glsl_without_array(type)) ? 2 : 1; in get_unmoveable_components_masks()
328 glsl_type_is_32bit(glsl_without_array(type)); in get_unmoveable_components_masks()
Dnir_gather_xfb_info.c117 assert(glsl_without_array(type) == glsl_float_type()); in add_var_xfb_outputs()
234 glsl_without_array(var->type) == var->interface_type; in nir_gather_xfb_info_with_varyings()
Dnir_lower_uniforms_to_ubo.c134 if (glsl_without_array(var->type) == var->interface_type && in nir_lower_uniforms_to_ubo()
Dnir_split_vars.c122 const struct glsl_type *struct_type = glsl_without_array(type); in init_field_for_type()
180 if (!glsl_type_is_struct_or_ifc(glsl_without_array(var->type))) in split_var_list_structs()
261 glsl_without_array(tail_field->type)); in split_struct_derefs_impl()
586 glsl_type_is_matrix(glsl_without_array(var->type))) { in split_var_list_arrays()
1417 glsl_type_is_matrix(glsl_without_array(var->type)) && in shrink_vec_var_list()
Dnir_lower_amul.c220 const struct glsl_type *type = glsl_without_array(var->type); in is_large()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c121 glsl_get_base_type(glsl_without_array(var->type)) == GLSL_TYPE_SUBROUTINE || in update_array_sizes()
654 num_params *= glsl_get_matrix_columns(glsl_without_array(type)); in add_parameter()
656 bool is_dual_slot = glsl_type_is_dual_slot(glsl_without_array(type)); in add_parameter()
666 unsigned dmul = glsl_type_is_64bit(glsl_without_array(type)) ? 2 : 1; in add_parameter()
667 unsigned comps = glsl_get_vector_elements(glsl_without_array(type)) * dmul; in add_parameter()
739 const struct glsl_type *type_no_array = glsl_without_array(type); in update_uniforms_shader_info()
940 const struct glsl_type *type_no_array = glsl_without_array(type); in find_and_update_named_uniform_storage()
1314 const struct glsl_type *type_no_array = glsl_without_array(type); in nir_link_uniform()
1413 glsl_without_array(state->current_var->type) == state->current_var->interface_type && in nir_link_uniform()
1545 glsl_without_array(type) == var->interface_type) { in gl_nir_link_uniforms()
[all …]
Dgl_nir_link_uniform_initializers.c191 const struct glsl_type *t_without_array = glsl_without_array(type); in set_uniform_initializer()
288 glsl_without_array(var->type); in gl_nir_set_uniform_initializers()
Dgl_nir_link_uniform_blocks.c427 const struct glsl_type *type = glsl_without_array(var->type); in allocate_uniform_blocks()
465 const struct glsl_type *type = glsl_without_array(var->type); in fill_block()
Dgl_nir_lower_buffers.c189 !glsl_type_is_interface(glsl_without_array(deref->var->type))) { in lower_buffer_interface_derefs_impl()
Dgl_nir_link_atomics.c238 glsl_without_array(var->type); in gl_nir_link_assign_atomic_counter_resources()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_fs_out_to_vector.cpp232 if (!glsl_type_is_vector_or_scalar(glsl_without_array(var->type))) in var_can_rewrite()
235 if (glsl_get_bit_size(glsl_without_array(var->type)) != 32) in var_can_rewrite()
340 unsigned num_comps = glsl_get_vector_elements(glsl_without_array(new_var->type)); in vec_instr_stack_pop()
341 unsigned old_num_comps = glsl_get_vector_elements(glsl_without_array(var->type)); in vec_instr_stack_pop()
374 assert(glsl_get_vector_elements(glsl_without_array(var2->type)) < 4); in vec_instr_stack_pop()
Dsfn_nir_vectorize_vs_inputs.c62 if (!glsl_type_is_vector_or_scalar(glsl_without_array(var->type))) in r600_variable_can_rewrite()
67 if (glsl_get_bit_size(glsl_without_array(var->type)) != 32) in r600_variable_can_rewrite()
195 glsl_get_vector_elements(glsl_without_array(new_var->type)); in r600_vec_instr_stack_pop()
198 glsl_get_vector_elements(glsl_without_array(var->type)); in r600_vec_instr_stack_pop()
Dsfn_shaderio.cpp128 glsl_get_base_type(glsl_without_array(input->type)); in ShaderInputVarying()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c340 glsl_get_base_type(glsl_without_array(var->type)); in scan_instruction()
536 glsl_get_base_type(glsl_without_array(variable->type)); in nir_tgsi_scan_shader()
624 unsigned vector_elements = glsl_get_vector_elements(glsl_without_array(variable->type)); in nir_tgsi_scan_shader()
629 if (glsl_type_is_64bit(glsl_without_array(variable->type))) { in nir_tgsi_scan_shader()
630 if (glsl_type_is_dual_slot(glsl_without_array(variable->type)) && k % 2) { in nir_tgsi_scan_shader()
/external/mesa3d/src/compiler/
Dnir_types.cpp54 glsl_without_array(const glsl_type *type) in glsl_without_array() function
821 glsl_type_get_sampler_count(glsl_without_array(type))); in glsl_type_get_sampler_count()
845 glsl_type_get_image_count(glsl_without_array(type))); in glsl_type_get_image_count()
Dnir_types.h70 const struct glsl_type *glsl_without_array(const struct glsl_type *type);
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c203 glsl_get_base_type(glsl_without_array(type)); in lvp_lower_pipeline_layout()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c340 const struct glsl_type *type = glsl_without_array(var->type); in gather_info_input_decl_ps()
426 unsigned num_components = glsl_get_component_slots(glsl_without_array(var->type)); in gather_info_output_decl_ps()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c330 const struct glsl_type *type = glsl_without_array(var->type); in zink_shader_create()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp206 const struct glsl_type *type = glsl_without_array(uniform->type); in st_nir_assign_uniform_locations()
445 const struct glsl_type *type = glsl_without_array(var->type); in st_glsl_to_nir_post_opts()

12