Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/microsoft/compiler/
Ddxil_enums.c33 type = glsl_without_array(type); in dxil_get_prog_sig_comp_type()
54 type = glsl_without_array(type); in dxil_get_comp_type()
79 type = glsl_without_array(type); in dxil_get_resource_kind()
Ddxil_signature.c141 type = glsl_without_array(type); in get_additional_semantic_info()
302 glsl_type_is_array(var->type) ? glsl_without_array(var->type) : var->type; in get_semantic_gs_in_name()
/third_party/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()
328 glsl_type_is_struct_or_ifc(glsl_without_array(type))) in lower_io_arrays_to_elements()
Dnir_opt_access.c109 if (glsl_get_sampler_dim(glsl_without_array(var->type)) == in gather_intrinsic()
188 const struct glsl_type *type = glsl_without_array(var->type); in process_variable()
276 glsl_get_sampler_dim(glsl_without_array(var->type)) == GLSL_SAMPLER_DIM_BUF; in process_intrinsic()
Dnir_lower_readonly_images_to_tex.c48 if (glsl_type_is_sampler(glsl_without_array(type))) in replace_image_type_with_sampler()
54 if (!glsl_type_is_sampler(glsl_without_array(type))) { in replace_image_type_with_sampler()
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()
180 if (!glsl_type_is_vector_or_scalar(glsl_without_array(var->type))) { in get_flat_type()
186 glsl_without_array(get_per_vertex_type(shader, var, NULL))); in get_flat_type()
254 glsl_get_components(glsl_without_array(var->type)); in create_new_io_vars()
Dnir_lower_io_to_scalar.c326 if (glsl_type_is_64bit(glsl_without_array(var->type))) in nir_lower_io_to_scalar_early_instr()
342 if (glsl_type_is_matrix(glsl_without_array(var->type)) || in nir_lower_io_to_scalar_early_instr()
343 glsl_type_is_struct_or_ifc(glsl_without_array(var->type))) in nir_lower_io_to_scalar_early_instr()
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_linking_helpers.c73 if (glsl_type_is_struct_or_ifc(glsl_without_array(var->type))) in get_num_components()
76 return glsl_get_vector_elements(glsl_without_array(var->type)); in get_num_components()
314 glsl_type_is_vector_or_scalar(glsl_without_array(type)) ? in get_unmoveable_components_masks()
315 glsl_get_vector_elements(glsl_without_array(type)) : 4; in get_unmoveable_components_masks()
317 bool dual_slot = glsl_type_is_dual_slot(glsl_without_array(type)); in get_unmoveable_components_masks()
319 unsigned dmul = glsl_type_is_64bit(glsl_without_array(type)) ? 2 : 1; in get_unmoveable_components_masks()
346 glsl_type_is_32bit(glsl_without_array(type)); in get_unmoveable_components_masks()
Dnir_lower_uniforms_to_ubo.c141 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.c226 const struct glsl_type *type = glsl_without_array(var->type); in is_large()
/third_party/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()
676 if (glsl_type_is_16bit(glsl_without_array(type))) in add_parameter()
743 const struct glsl_type *type_no_array = glsl_without_array(type); in update_uniforms_shader_info()
944 const struct glsl_type *type_no_array = glsl_without_array(type); in find_and_update_named_uniform_storage()
1318 const struct glsl_type *type_no_array = glsl_without_array(type); in nir_link_uniform()
1417 glsl_without_array(state->current_var->type) == state->current_var->interface_type && in nir_link_uniform()
[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.c431 const struct glsl_type *type = glsl_without_array(var->type); in allocate_uniform_blocks()
469 const struct glsl_type *type = glsl_without_array(var->type); in fill_block()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_fs_out_to_vector.cpp234 if (!glsl_type_is_vector_or_scalar(glsl_without_array(var->type))) in var_can_rewrite()
237 if (glsl_get_bit_size(glsl_without_array(var->type)) != 32) in var_can_rewrite()
342 unsigned num_comps = glsl_get_vector_elements(glsl_without_array(new_var->type)); in vec_instr_stack_pop()
343 unsigned old_num_comps = glsl_get_vector_elements(glsl_without_array(var->type)); in vec_instr_stack_pop()
376 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()
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.h57 return glsl_get_base_type(glsl_without_array(type)) == GLSL_TYPE_ATOMIC_UINT; in type_is_counter()
Dnir_to_spirv.c808 const struct glsl_type *type = glsl_without_array(var->type); in get_bare_image_type()
846 const struct glsl_type *type = glsl_without_array(var->type); in emit_image()
943 bool is_64bit = glsl_type_is_64bit(glsl_without_array(last_member)); in get_bo_struct_type()
1010 const struct glsl_type *type = glsl_without_array(var->type); in emit_uniform()
1259 base_type = glsl_get_base_type(glsl_without_array(out_type)); in get_output_type()
2161 type = get_image_type(ctx, var, glsl_type_is_sampler(glsl_without_array(var->type))); in emit_load_deref()
2615 const struct glsl_type *type = glsl_without_array(var->type); in emit_image_deref_store()
2636 const struct glsl_type *type = glsl_without_array(var->type); in emit_image_deref_load()
2654 const struct glsl_type *type = glsl_without_array(var->type); in emit_image_deref_size()
2679 const struct glsl_type *type = glsl_without_array(var->type); in emit_image_intrinsic()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_lower_int_cubemap_to_array.c216 const struct glsl_type *new_type = glsl_without_array(type); in make_2darray_from_cubemap_with_array()
217 return new_type != type ? glsl_array_type(make_2darray_from_cubemap(glsl_without_array(type)), in make_2darray_from_cubemap_with_array()
Dd3d12_nir_lower_texcmp.c64 return glsl_array_type(strip_shadow(glsl_without_array(type)), in strip_shadow_with_array()
/third_party/mesa3d/src/compiler/
Dnir_types.cpp54 glsl_without_array(const glsl_type *type) in glsl_without_array() function
885 glsl_type_get_sampler_count(glsl_without_array(type))); in glsl_type_get_sampler_count()
909 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);
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c994 const struct glsl_type *type = glsl_without_array(var->type); in unbreak_bos()
1103 …unsigned needed_components = glsl_get_sampler_coordinate_components(glsl_without_array(var->type)); in lower_bindless_instr()
1290 …assert(glsl_get_sampler_dim(glsl_without_array(bindless[binding]->type)) == glsl_get_sampler_dim(g… in handle_bindless_var()
1403 const struct glsl_type *type = glsl_without_array(var->type); in zink_shader_create()

12