Lines Matching defs:shader
106 * - the in_var is for geometry and both tessellation shader inputs only.
123 * Type of shader we are compiling (e.g. MESA_SHADER_VERTEX)
296 * this->old_distance_in_var to be non-NULL in the same shader.
660 struct gl_linked_shader *shader)
665 visit_list_elements(&count, shader->ir);
673 lower_distance_visitor v(shader->Stage, "gl_ClipDistance", clip_size + cull_size, 0);
674 visit_list_elements(&v, shader->ir);
676 lower_distance_visitor v2(shader->Stage, "gl_CullDistance", &v, clip_size);
677 visit_list_elements(&v2, shader->ir);
680 shader->symbols->add_variable(v2.new_distance_out_var);
682 shader->symbols->add_variable(v2.new_distance_in_var);