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

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/i965/brw_wm_pass0.c

  • 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:
203
203
         switch (plist->Parameters[idx].Type) {
204
204
         case PROGRAM_NAMED_PARAM:
205
205
         case PROGRAM_CONSTANT:
206
 
            /* These are invarient:
 
206
            /* These are invariant:
207
207
             */
208
 
            ref = get_const_ref(c, &plist->ParameterValues[idx][component]);
 
208
            ref = get_const_ref(c, &plist->ParameterValues[idx][component].f);
209
209
            break;
210
210
 
211
211
         case PROGRAM_STATE_VAR:
212
212
         case PROGRAM_UNIFORM:
213
213
            /* These may change from run to run:
214
214
             */
215
 
            ref = get_param_ref(c, &plist->ParameterValues[idx][component] );
 
215
            ref = get_param_ref(c, &plist->ParameterValues[idx][component].f );
216
216
            break;
217
217
 
218
218
         default: