Searched refs:oldProg (Results 1 – 1 of 1) sorted by relevance
322 struct gl_program *oldProg = *ptr; in _mesa_reference_program_() local324 assert(oldProg->RefCount > 0); in _mesa_reference_program_()326 if (p_atomic_dec_zero(&oldProg->RefCount)) { in _mesa_reference_program_()328 _mesa_reference_shader_program_data(ctx, &oldProg->sh.data, NULL); in _mesa_reference_program_()329 ctx->Driver.DeleteProgram(ctx, oldProg); in _mesa_reference_program_()