• Home
  • Raw
  • Download

Lines Matching refs:slot

47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot)  in assign_vue_slot()  argument
52 vue_map->varying_to_slot[varying] = slot; in assign_vue_slot()
53 vue_map->slot_to_varying[slot] = varying; in assign_vue_slot()
108 int slot = 0; in brw_compute_vue_map() local
125 assign_vue_slot(vue_map, VARYING_SLOT_PSIZ, slot++); in brw_compute_vue_map()
126 assign_vue_slot(vue_map, BRW_VARYING_SLOT_NDC, slot++); in brw_compute_vue_map()
127 assign_vue_slot(vue_map, VARYING_SLOT_POS, slot++); in brw_compute_vue_map()
136 assign_vue_slot(vue_map, VARYING_SLOT_PSIZ, slot++); in brw_compute_vue_map()
137 assign_vue_slot(vue_map, VARYING_SLOT_POS, slot++); in brw_compute_vue_map()
145 vue_map->slot_to_varying[slot++] = VARYING_SLOT_POS; in brw_compute_vue_map()
150 assign_vue_slot(vue_map, VARYING_SLOT_CLIP_DIST0, slot++); in brw_compute_vue_map()
152 assign_vue_slot(vue_map, VARYING_SLOT_CLIP_DIST1, slot++); in brw_compute_vue_map()
157 slot += slot % 2; in brw_compute_vue_map()
164 assign_vue_slot(vue_map, VARYING_SLOT_COL0, slot++); in brw_compute_vue_map()
166 assign_vue_slot(vue_map, VARYING_SLOT_BFC0, slot++); in brw_compute_vue_map()
168 assign_vue_slot(vue_map, VARYING_SLOT_COL1, slot++); in brw_compute_vue_map()
170 assign_vue_slot(vue_map, VARYING_SLOT_BFC1, slot++); in brw_compute_vue_map()
192 assign_vue_slot(vue_map, varying, slot++); in brw_compute_vue_map()
197 const int first_generic_slot = slot; in brw_compute_vue_map()
202 slot = first_generic_slot + varying - VARYING_SLOT_VAR0; in brw_compute_vue_map()
204 assign_vue_slot(vue_map, varying, slot++); in brw_compute_vue_map()
208 vue_map->num_slots = slot; in brw_compute_vue_map()
244 int slot = 0; in brw_compute_tess_vue_map() local
253 assign_vue_slot(vue_map, VARYING_SLOT_TESS_LEVEL_INNER, slot++); in brw_compute_tess_vue_map()
254 assign_vue_slot(vue_map, VARYING_SLOT_TESS_LEVEL_OUTER, slot++); in brw_compute_tess_vue_map()
260 assign_vue_slot(vue_map, varying + VARYING_SLOT_PATCH0, slot++); in brw_compute_tess_vue_map()
266 vue_map->num_per_patch_slots = slot; in brw_compute_tess_vue_map()
272 assign_vue_slot(vue_map, varying, slot++); in brw_compute_tess_vue_map()
277 vue_map->num_per_vertex_slots = slot - vue_map->num_per_patch_slots; in brw_compute_tess_vue_map()
278 vue_map->num_slots = slot; in brw_compute_tess_vue_map()
282 varying_name(brw_varying_slot slot, gl_shader_stage stage) in varying_name() argument
284 assume(slot < BRW_VARYING_SLOT_COUNT); in varying_name()
286 if (slot < VARYING_SLOT_MAX) in varying_name()
287 return gl_varying_slot_name_for_stage((gl_varying_slot)slot, stage); in varying_name()
295 return brw_names[slot - VARYING_SLOT_MAX]; in varying_name()