Home | History | Annotate | Download | only in nir

Lines Matching defs:cull

30  * This pass combines separate clip and cull distance arrays into a
32 * cull distances. It also populates nir_shader_info with the size
37 * Get the length of the clip/cull distance array, looking past
47 * underlying clip/cull distance array length, not the per-vertex
74 * Rewrite any clip/cull distances to refer to the new combined array.
110 /* For cull distances, add an offset to the array index */
129 nir_variable *cull = NULL;
137 cull = var;
141 const unsigned cull_array_size = get_unwrapped_array_length(nir, cull);
151 if (cull)
152 cull->data.compact = true;
156 /* No clip distances, just change the cull distance location */
157 cull->data.location = VARYING_SLOT_CLIP_DIST0;
174 exec_node_remove(&cull->node);
175 ralloc_free(cull);