Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c115 unsigned comp_slots; in add_var_xfb_outputs() local
121 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()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_varyings.c1628 unsigned comp_slots = glsl_get_component_slots(type) + offset; in varying_matches_store_locations() local
1629 unsigned slots = comp_slots / 4; in varying_matches_store_locations()
1630 if (comp_slots % 4) in varying_matches_store_locations()