Lines Matching defs:variables
47 nir_alu_src variables[NIR_SEARCH_MAX_VARIABLES];
300 if (state->variables[var->variable].src.ssa != instr->src[src].src.ssa)
306 if (state->variables[var->variable].swizzle[i] != new_swizzle[i])
325 state->variables[var->variable].src = instr->src[src].src;
326 state->variables[var->variable].abs = false;
327 state->variables[var->variable].negate = false;
331 state->variables[var->variable].swizzle[i] = new_swizzle[i];
333 state->variables[var->variable].swizzle[i] = 0;
461 return nir_src_bit_size(state->variables[-value->bit_size - 1].src);
527 nir_alu_src_copy(&val, &state->variables[var->variable]);
531 val.swizzle[i] = state->variables[var->variable].swizzle[var->swizzle[i]];