Home
last modified time | relevance | path

Searched refs:glsl_array_size (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c66 if (index_in_array < glsl_array_size(parent->type)) { in lower_tex_src_to_offset()
69 base_index = glsl_array_size(parent->type) - 1; in lower_tex_src_to_offset()
Dnir_lower_amul.c254 unsigned size = MAX2(1, glsl_array_size(var->type)); in nir_lower_amul()
261 unsigned size = MAX2(1, glsl_array_size(var->type)); in nir_lower_amul()
/external/mesa3d/src/compiler/
Dnir_types.h68 int glsl_array_size(const struct glsl_type *type);
Dnir_types.cpp38 glsl_array_size(const struct glsl_type *type) in glsl_array_size() function
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c126 int words = BITSET_WORDS(glsl_array_size(var->type)); in update_array_sizes()
141 if (max_array_size == glsl_array_size(var->type)) in update_array_sizes()
145 if (max_array_size != glsl_array_size(var->type)) { in update_array_sizes()
157 (max_array_size * (num_slots / glsl_array_size(var->type))); in update_array_sizes()