Searched refs:const_count (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_const_arrays_to_uniforms.c | 135 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/ |
D | sb_gvn.cpp | 165 unsigned const_count = 0; in process_alu_src_constants() local 169 if (c && c->is_readonly() && ++const_count == 2) { in process_alu_src_constants()
|
D | sb_sched.cpp | 266 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/ |
D | etnaviv_compiler_nir.c | 278 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()
|
D | etnaviv_compiler_nir.h | 51 unsigned const_count; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 545 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()
|