Lines Matching defs:immediate
372 * immediate to be used (which applies even if _IMM can't be used) */
375 bi_is_intr_immediate(nir_intrinsic_instr *instr, unsigned *immediate, unsigned max)
382 *immediate = nir_intrinsic_base(instr) + nir_src_as_uint(*offset);
383 return (*immediate) < max;
430 bool immediate = bi_is_intr_immediate(instr, &imm_index, 16);
434 if (immediate) {
479 * Compute the offset in bytes of a varying with an immediate offset, adding the
486 assert(nir_src_is_const(*src) && "assumes immediate offset");
535 bool immediate = bi_is_intr_immediate(instr, &imm_index, 20);
538 if (b->shader->malloc_idvs && immediate) {
543 } else if (immediate && smooth) {
546 } else if (immediate && !smooth) {
996 bool immediate = bi_is_intr_immediate(instr, &imm_index, 16);
1064 } else if (immediate) {
3763 * textures with sufficiently small immediate indices. Anything else