/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io_arrays_to_elements.c | 69 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()
|
D | nir_gather_info.c | 255 (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()
|
D | nir_lower_io_to_vector.c | 112 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()
|
D | nir_opt_access.c | 74 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()
|
D | nir_lower_io_to_scalar.c | 328 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()
|
D | nir_linking_helpers.c | 65 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()
|
D | nir_gather_xfb_info.c | 117 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()
|
D | nir_lower_uniforms_to_ubo.c | 134 if (glsl_without_array(var->type) == var->interface_type && in nir_lower_uniforms_to_ubo()
|
D | nir_split_vars.c | 122 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()
|
D | nir_lower_amul.c | 220 const struct glsl_type *type = glsl_without_array(var->type); in is_large()
|
/external/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniforms.c | 121 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 …]
|
D | gl_nir_link_uniform_initializers.c | 191 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()
|
D | gl_nir_link_uniform_blocks.c | 427 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()
|
D | gl_nir_lower_buffers.c | 189 !glsl_type_is_interface(glsl_without_array(deref->var->type))) { in lower_buffer_interface_derefs_impl()
|
D | gl_nir_link_atomics.c | 238 glsl_without_array(var->type); in gl_nir_link_assign_atomic_counter_resources()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_fs_out_to_vector.cpp | 232 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()
|
D | sfn_nir_vectorize_vs_inputs.c | 62 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()
|
D | sfn_shaderio.cpp | 128 glsl_get_base_type(glsl_without_array(input->type)); in ShaderInputVarying()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 340 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/ |
D | nir_types.cpp | 54 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()
|
D | nir_types.h | 70 const struct glsl_type *glsl_without_array(const struct glsl_type *type);
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_lower_vulkan_resource.c | 203 glsl_get_base_type(glsl_without_array(type)); in lvp_lower_pipeline_layout()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_info.c | 340 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/ |
D | zink_compiler.c | 330 const struct glsl_type *type = glsl_without_array(var->type); in zink_shader_create()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_nir.cpp | 206 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()
|