Lines Matching refs:newProg
728 struct gl_program *newProg;
752 newProg = ctx->Driver.NewProgram(ctx, progA->Target, 0);
753 newProg->Instructions = newInst;
754 newProg->NumInstructions = newLength;
757 _mesa_find_used_registers(newProg, PROGRAM_TEMPORARY,
760 if (newProg->Target == GL_FRAGMENT_PROGRAM_ARB) {
768 newFprog = gl_fragment_program(newProg);
829 newProg->InputsRead = progA->InputsRead | inputsB;
830 newProg->OutputsWritten = progB->OutputsWritten;
831 newProg->SamplersUsed = progA->SamplersUsed | progB->SamplersUsed;
841 newProg->Parameters = _mesa_combine_parameter_lists(progA->Parameters,
847 return newProg;