mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
mesa: use GLbitfield64 when copying program inputs
Note: This is a candidate for the 9.0 branch.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
(cherry picked from commit ccbb479f40)
This commit is contained in:
parent
63f8589430
commit
998f402af5
1 changed files with 2 additions and 2 deletions
|
|
@ -732,7 +732,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);
|
||||
|
|
@ -760,7 +760,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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue