Home
last modified time | relevance | path

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

/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.c521 trim_constlens(unsigned *constlens, unsigned first_stage, unsigned last_stage, in trim_constlens() argument
526 cur_total += constlens[i]; in trim_constlens()
535 if (constlens[i] >= max_const) { in trim_constlens()
537 max_const = constlens[i]; in trim_constlens()
544 constlens[max_stage] = safe_limit; in trim_constlens()
557 unsigned constlens[MESA_SHADER_STAGES] = {}; in ir3_trim_constlen() local
561 constlens[i] = variants[i]->constlen; in ir3_trim_constlen()
573 trim_constlens(constlens, MESA_SHADER_VERTEX, MESA_SHADER_GEOMETRY, in ir3_trim_constlen()
577 trim_constlens(constlens, MESA_SHADER_VERTEX, MESA_SHADER_FRAGMENT, in ir3_trim_constlen()