Lines Matching refs:fprog
649 struct gl_fragment_program *fprog = gl_fragment_program(prog); in _mesa_LoadProgramNV() local
650 if (!fprog || prog == &_mesa_DummyProgram) { in _mesa_LoadProgramNV()
651 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id)); in _mesa_LoadProgramNV()
652 if (!fprog) { in _mesa_LoadProgramNV()
656 _mesa_HashInsert(ctx->Shared->Programs, id, fprog); in _mesa_LoadProgramNV()
658 _mesa_parse_nv_fragment_program(ctx, target, program, len, fprog); in _mesa_LoadProgramNV()
662 struct gl_fragment_program *fprog = gl_fragment_program(prog); in _mesa_LoadProgramNV() local
663 if (!fprog || prog == &_mesa_DummyProgram) { in _mesa_LoadProgramNV()
664 fprog = gl_fragment_program(ctx->Driver.NewProgram(ctx, target, id)); in _mesa_LoadProgramNV()
665 if (!fprog) { in _mesa_LoadProgramNV()
669 _mesa_HashInsert(ctx->Shared->Programs, id, fprog); in _mesa_LoadProgramNV()
671 _mesa_parse_arb_fragment_program(ctx, target, program, len, fprog); in _mesa_LoadProgramNV()