Searched refs:loc_bias (Results 1 – 1 of 1) sorted by relevance
450 int loc_bias = 0; in add_vars_with_modes() local456 loc_bias = (stage == MESA_SHADER_VERTEX) ? VERT_ATTRIB_GENERIC0 in add_vars_with_modes()462 loc_bias = (stage == MESA_SHADER_FRAGMENT) ? FRAG_RESULT_DATA0 in add_vars_with_modes()470 loc_bias = VARYING_SLOT_PATCH0; in add_vars_with_modes()483 sh_var->location = var->data.location - loc_bias; in add_vars_with_modes()511 var->data.location - loc_bias, in add_vars_with_modes()