Home
last modified time | relevance | path

Searched refs:comp_slots (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c114 unsigned comp_slots; in add_var_xfb_outputs() local
120 comp_slots = glsl_get_length(type); in add_var_xfb_outputs()
122 comp_slots = glsl_get_component_slots(type); in add_var_xfb_outputs()
124 UNUSED unsigned attrib_slots = DIV_ROUND_UP(comp_slots, 4); in add_var_xfb_outputs()
132 assert(DIV_ROUND_UP(var->data.location_frac + comp_slots, 4) == in add_var_xfb_outputs()
136 assert(var->data.location_frac + comp_slots <= 8); in add_var_xfb_outputs()
137 uint8_t comp_mask = ((1 << comp_slots) - 1) << var->data.location_frac; in add_var_xfb_outputs()
/external/mesa3d/src/compiler/glsl/
Dlink_varyings.cpp2129 unsigned comp_slots = type->component_slots() + offset; in store_locations() local
2130 unsigned slots = comp_slots / 4; in store_locations()
2131 if (comp_slots % 4) in store_locations()