Lines Matching defs:slots
2707 * 3. Sort the attributes without assigned locations by number of slots
2726 unsigned slots;
2736 return r->slots - l->slots;
2742 * for the purpose of checking overlapping slots/components of (non-ES)
2825 const unsigned slots = var->type->count_attribute_slots(target_index == MESA_SHADER_VERTEX);
2902 /* Mask representing the contiguous slots that will be used by
2906 const unsigned use_mask = (1 << slots) - 1;
2913 if (attr + slots > max_index) {
3032 to_assign[num_attr].slots = slots;
3046 "attempt to use %d vertex attribute slots only %d available ",
3073 /* Mask representing the contiguous slots that will be used by this
3076 const unsigned use_mask = (1 << to_assign[i].slots) - 1;
3078 int location = find_available_slots(used_locations, to_assign[i].slots);
3109 "attempt to use %d vertex attribute slots only %d available ",
3171 * Initializes explicit location slots to INACTIVE_UNIFORM_EXPLICIT_LOCATION
3179 unsigned slots = var->type->uniform_locations();
3180 unsigned max_loc = var->data.location + slots - 1;
3181 unsigned return_value = slots;
3202 for (unsigned i = 0; i < slots; i++) {
3245 unsigned slots = var->type->uniform_locations();
3246 unsigned max_loc = var->data.location + slots - 1;
3267 for (unsigned i = 0; i < slots; i++) {
3333 int slots = reserve_explicit_locations(prog, uniform_map,
3335 if (slots != -1) {
3337 entries_total += slots;