~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/mesa/tnl/t_vp_build.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "glheader.h"
34
34
#include "macros.h"
35
35
#include "enums.h"
36
 
#include "t_context.h"
 
36
#include "t_context.h" /* NOTE: very light dependency on this */
37
37
#include "t_vp_build.h"
38
38
 
39
39
#include "shader/program.h"
386
386
   values[1] = s1;
387
387
   values[2] = s2;
388
388
   values[3] = s3;
389
 
   idx = _mesa_add_unnamed_constant( p->program->Base.Parameters, values );
 
389
   idx = _mesa_add_unnamed_constant( p->program->Base.Parameters, values, 4 );
390
390
   return make_ureg(PROGRAM_STATE_VAR, idx);
391
391
}
392
392