Lines Matching refs:target_index
2600 unsigned target_index) in assign_attribute_or_color_locations() argument
2606 unsigned max_index = (target_index == MESA_SHADER_VERTEX) ? in assign_attribute_or_color_locations()
2607 constants->Program[target_index].MaxAttribs : in assign_attribute_or_color_locations()
2615 assert((target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
2616 || (target_index == MESA_SHADER_FRAGMENT)); in assign_attribute_or_color_locations()
2618 gl_linked_shader *const sh = prog->_LinkedShaders[target_index]; in assign_attribute_or_color_locations()
2638 const int generic_base = (target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
2642 (target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
2691 } else if (target_index == MESA_SHADER_VERTEX) { in assign_attribute_or_color_locations()
2699 } else if (target_index == MESA_SHADER_FRAGMENT) { in assign_attribute_or_color_locations()
2740 if (target_index == MESA_SHADER_FRAGMENT && var->data.index >= 1 && in assign_attribute_or_color_locations()
2751 const unsigned slots = var->type->count_attribute_slots(target_index == MESA_SHADER_VERTEX); in assign_attribute_or_color_locations()
2833 const char *const string = (target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
2851 if (target_index == MESA_SHADER_FRAGMENT && !prog->IsES) { in assign_attribute_or_color_locations()
2897 } else if (target_index == MESA_SHADER_FRAGMENT || in assign_attribute_or_color_locations()
2910 if (target_index == MESA_SHADER_FRAGMENT && !prog->IsES) { in assign_attribute_or_color_locations()
2953 target_index == MESA_SHADER_VERTEX ? in assign_attribute_or_color_locations()
2963 if (target_index == MESA_SHADER_VERTEX) { in assign_attribute_or_color_locations()
2984 if (target_index == MESA_SHADER_VERTEX) { in assign_attribute_or_color_locations()
3004 const char *const string = (target_index == MESA_SHADER_VERTEX) in assign_attribute_or_color_locations()
3027 if (target_index == MESA_SHADER_VERTEX) { in assign_attribute_or_color_locations()