Home
last modified time | relevance | path

Searched refs:const_count (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_const_arrays_to_uniforms.c135 unsigned *const_count, bool *progress) in lower_const_array_to_uniform() argument
163 if (*const_count == limit) in lower_const_array_to_uniform()
206 *const_count, shader->info.stage); in lower_const_array_to_uniform()
210 *const_count = *const_count + 1; in lower_const_array_to_uniform()
247 unsigned const_count = 0; in nir_lower_const_arrays_to_uniforms() local
356 &free_uni_components, &const_count, in nir_lower_const_arrays_to_uniforms()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_gvn.cpp165 unsigned const_count = 0; in process_alu_src_constants() local
169 if (c && c->is_readonly() && ++const_count == 2) { in process_alu_src_constants()
Dsb_sched.cpp266 unsigned const_count = 0, min_gpr_cycle = 3; in try_reserve() local
271 const_count++; in try_reserve()
272 if (trans && const_count == 3) in try_reserve()
283 if (const_count && cycle < const_count && trans) in try_reserve()
293 if ((i == nsrc) && (min_gpr_cycle + 1 > const_count)) in try_reserve()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c278 c->const_count = MAX2(c->const_count, i); in const_src()
947 c->const_count = indirect_max; in emit_shader()
986 *num_consts = c->const_count; in emit_shader()
Detnaviv_compiler_nir.h51 unsigned const_count; member
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c545 int r, src, num_src, const_count, sel, elem, cycle; in check_scalar() local
548 for (const_count = 0, src = 0; src < num_src; ++src) { in check_scalar()
552 if (const_count >= 2) in check_scalar()
557 const_count++; in check_scalar()
570 if (cycle < const_count) in check_scalar()
579 if (const_count && (sel == 254 || sel == 255)) { in check_scalar()
581 if (cycle < const_count) in check_scalar()