Searched refs:comp_slots (Results 1 – 2 of 2) sorted by relevance
115 unsigned comp_slots; in add_var_xfb_outputs() local121 comp_slots = glsl_get_length(type); in add_var_xfb_outputs()123 comp_slots = glsl_get_component_slots(type); in add_var_xfb_outputs()125 UNUSED unsigned attrib_slots = DIV_ROUND_UP(comp_slots, 4); in add_var_xfb_outputs()133 assert(DIV_ROUND_UP(var->data.location_frac + comp_slots, 4) == in add_var_xfb_outputs()137 assert(var->data.location_frac + comp_slots <= 8); in add_var_xfb_outputs()138 uint8_t comp_mask = ((1 << comp_slots) - 1) << var->data.location_frac; in add_var_xfb_outputs()
1628 unsigned comp_slots = glsl_get_component_slots(type) + offset; in varying_matches_store_locations() local1629 unsigned slots = comp_slots / 4; in varying_matches_store_locations()1630 if (comp_slots % 4) in varying_matches_store_locations()