Lines Matching defs:varying
47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot)
49 /* Make sure this varying hasn't been assigned a slot already */
50 assert (vue_map->varying_to_slot[varying] == -1);
52 vue_map->varying_to_slot[varying] = slot;
53 vue_map->slot_to_varying[slot] = varying;
90 * own varying slots -- they are stored in the first VUE slot
179 * requires that all shaders have matching built-in varying interface
190 const int varying = ffsll(builtins) - 1;
191 if (vue_map->varying_to_slot[varying] == -1) {
192 assign_vue_slot(vue_map, varying, slot++);
194 builtins &= ~BITFIELD64_BIT(varying);
200 const int varying = ffsll(generics) - 1;
202 slot = first_generic_slot + varying - VARYING_SLOT_VAR0;
204 assign_vue_slot(vue_map, varying, slot++);
205 generics &= ~BITFIELD64_BIT(varying);
258 const int varying = ffsll(patch_slots) - 1;
259 if (vue_map->varying_to_slot[varying + VARYING_SLOT_PATCH0] == -1) {
260 assign_vue_slot(vue_map, varying + VARYING_SLOT_PATCH0, slot++);
262 patch_slots &= ~BITFIELD64_BIT(varying);
270 const int varying = ffsll(vertex_slots) - 1;
271 if (vue_map->varying_to_slot[varying] == -1) {
272 assign_vue_slot(vue_map, varying, slot++);
274 vertex_slots &= ~BITFIELD64_BIT(varying);