Lines Matching defs:constant
429 bool constant = nir_src_is_const(*offset);
441 if (constant)
1105 assert(b->shader->inputs->no_ubo_to_push && "can't mix push constant forms");
1144 * available, which saves an instruction for constant offsets.
1319 /* Check we have a compatible constant */
1927 /* Accumulate all the channels of the constant, as if we did an
3124 /* Precompute for constant LODs to avoid general constant folding */
4508 * (like fneg of a constant) which we don't handle */
4886 * offsets it could figure out are constant. Do some constant folding
5030 /* Runs before constant folding */
5080 /* We need to clean up after constant lowering */