Home
last modified time | relevance | path

Searched refs:total_components (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_vectorize.c176 unsigned total_components = alu1_components + alu2_components; in instr_try_combine() local
178 if (total_components > 4) in instr_try_combine()
182 (total_components > 2 || alu1->dest.dest.ssa.bit_size != 16)) in instr_try_combine()
194 total_components, alu1->dest.dest.ssa.bit_size, NULL); in instr_try_combine()
195 new_alu->dest.write_mask = (1 << total_components) - 1; in instr_try_combine()
217 for (unsigned j = 0; j < total_components; j++) { in instr_try_combine()
222 nir_ssa_def *def = nir_build_imm(&b, total_components, bit_size, value); in instr_try_combine()
225 for (unsigned j = 0; j < total_components; j++) in instr_try_combine()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c226 uint32_t total_components = 0; in etna_link_shaders() local
234 etna_bitarray_set(component_use, 2, total_components, varying->use[comp]); in etna_link_shaders()
235 total_components += 1; in etna_link_shaders()
240 VIVS_GL_VARYING_TOTAL_COMPONENTS_NUM(align(total_components, 2)); in etna_link_shaders()
/external/mesa3d/src/compiler/glsl/tests/
Dset_uniform_initializer_tests.cpp113 const unsigned total_components = MAX2(17, (data_components in establish_uniform_storage() local
115 const unsigned red_zone_components = total_components - data_components; in establish_uniform_storage()
132 rzalloc_array(prog, union gl_constant_value, total_components); in establish_uniform_storage()