mesa: use GLbitfield64 when copying program inputs
authorBrian Paul <brianp@vmware.com>
Wed, 23 Jan 2013 00:44:02 +0000 (17:44 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 25 Jan 2013 22:41:38 +0000 (15:41 -0700)
Note: This is a candidate for the 9.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/program/program.c

index 0cca460ceae5730494cf298bd4eae0ec24da1e18..fb0aeb7edaaeb9fe356531433a12f247c4e2f08c 100644 (file)
@@ -696,7 +696,7 @@ _mesa_combine_programs(struct gl_context *ctx,
    const GLuint newLength = lenA + lenB;
    GLboolean usedTemps[MAX_PROGRAM_TEMPS];
    GLuint firstTemp = 0;
-   GLbitfield inputsB;
+   GLbitfield64 inputsB;
    GLuint i;
 
    ASSERT(progA->Target == progB->Target);
@@ -724,7 +724,7 @@ _mesa_combine_programs(struct gl_context *ctx,
    if (newProg->Target == GL_FRAGMENT_PROGRAM_ARB) {
       const struct gl_fragment_program *fprogA, *fprogB;
       struct gl_fragment_program *newFprog;
-      GLbitfield progB_inputsRead = progB->InputsRead;
+      GLbitfield64 progB_inputsRead = progB->InputsRead;
       GLint progB_colorFile, progB_colorIndex;
 
       fprogA = gl_fragment_program_const(progA);