Lines Matching refs:semantics
474 nir_io_semantics semantics = nir_intrinsic_io_semantics(instr);
476 if (semantics.location >= VARYING_SLOT_PATCH0 &&
477 semantics.location <= VARYING_SLOT_PATCH31) {
485 semantics.location -= VARYING_SLOT_PATCH0;
488 if (semantics.location >= VARYING_SLOT_VAR0_16BIT &&
489 semantics.location <= VARYING_SLOT_VAR15_16BIT) {
491 unsigned num_slots = (semantics.num_slots + semantics.high_16bits + 1) / 2;
493 BITFIELD_RANGE(semantics.location - VARYING_SLOT_VAR0_16BIT, num_slots);
495 slot_mask = BITFIELD64_RANGE(semantics.location, semantics.num_slots);
496 assert(util_bitcount64(slot_mask) == semantics.num_slots);