~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/glsl/link_functions.cpp

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
      if (sig == NULL) {
92
92
         /* FINISHME: Log the full signature of unresolved function.
93
93
          */
94
 
         linker_error_printf(this->prog, "unresolved reference to function "
95
 
                             "`%s'\n", name);
 
94
         linker_error(this->prog, "unresolved reference to function `%s'\n",
 
95
                      name);
96
96
         this->success = false;
97
97
         return visit_stop;
98
98
      }
104
104
      if (f == NULL) {
105
105
         f = new(linked) ir_function(name);
106
106
 
107
 
         /* Add the new function to the linked IR.
 
107
         /* Add the new function to the linked IR.  Put it at the end
 
108
          * so that it comes after any global variable declarations
 
109
          * that it refers to.
108
110
          */
109
111
         linked->symbols->add_function(f);
110
 
         linked->ir->push_head(f);
 
112
         linked->ir->push_tail(f);
111
113
      }
112
114
 
113
115
      ir_function_signature *linked_sig =