Lines Matching refs:index
324 nir_locals[reg->index] = bld.vgrf(reg_type, size);
816 * If \c instr is not the \c nir_op_fsign, then \c fsign_src is the index of
2064 nir_ssa_values[instr->def.index] = reg;
2077 reg = nir_ssa_values[src.ssa->index];
2082 reg = offset(nir_locals[src.reg.reg->index], bld,
2127 nir_ssa_values[dest.ssa.index] =
2129 bld.UNDEF(nir_ssa_values[dest.ssa.index]);
2130 return nir_ssa_values[dest.ssa.index];
2134 return offset(nir_locals[dest.reg.reg->index], bld,
2540 /* The vertex index is constant; just select the proper URB handle. */
2545 /* The vertex index is non-constant. We need to use indirect
2552 * Next, we convert the vertex index to bytes by multiplying
2590 /* The vertex index is non-constant. We need to use indirect
2744 /* For the common case of only 1 instance, an array index of
2749 /* The vertex index is non-constant. We need to use indirect
2785 /* The vertex index is non-constant. We need to use indirect
2792 * Next, we convert the vertex index to bytes by multiplying
3276 * Fetch the current render target layer index.
3282 /* The render target array index is provided in the thread payload as
3290 /* The render target array index is provided in the thread payload as
3307 * framebuffer at the current fragment coordinates and sample index.
3326 /* Calculate the sample index and MCS payload when multisampling. Luckily
4139 /* SSBO stores are weird in that their index is in src[1] */
4166 * | Hi address bits | chan index | addr low |
4170 * shifted up so that we can stick the SIMD channel index in the middle. This
4404 * into will handle the binding table index for us in the geneerator.
4758 const unsigned index = nir_src_as_uint(instr->src[0]);
4759 surf_index = brw_imm_ud(index);
4761 /* The block index is not a constant. Evaluate the index expression
4762 * per-channel and add the base UBO index; we have to select a value
5137 const unsigned index = ssbo_index;
5139 src_payload, brw_imm_ud(index));
5487 const fs_reg index = get_nir_src(instr->src[1]);
5489 bld.emit(SHADER_OPCODE_SHUFFLE, retype(dest, value.type), value, index);
5511 const unsigned index = nir_src_as_uint(instr->src[1]);
5514 value, brw_imm_ud(index), brw_imm_ud(4));