Searched refs:oldProg (Results 1 – 1 of 1) sorted by relevance
321 struct gl_program *oldProg = *ptr; in _mesa_reference_program_() local323 assert(oldProg->RefCount > 0); in _mesa_reference_program_()325 if (p_atomic_dec_zero(&oldProg->RefCount)) { in _mesa_reference_program_()327 _mesa_reference_shader_program_data(&oldProg->sh.data, NULL); in _mesa_reference_program_()328 _mesa_delete_program(ctx, oldProg); in _mesa_reference_program_()