mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 23:30:13 +01:00
nv50: don't look for unfreed temps in free_nv50_pc
Since we stopped using alloc_temp to get hw indices for FP attrs there shouldn't be any non-deallocated temps left.
This commit is contained in:
parent
7ab96f4f73
commit
f9268ccd7f
1 changed files with 0 additions and 8 deletions
|
|
@ -1981,8 +1981,6 @@ out_err:
|
|||
static void
|
||||
free_nv50_pc(struct nv50_pc *pc)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
if (pc->immd)
|
||||
FREE(pc->immd);
|
||||
if (pc->param)
|
||||
|
|
@ -1994,12 +1992,6 @@ free_nv50_pc(struct nv50_pc *pc)
|
|||
if (pc->temp)
|
||||
FREE(pc->temp);
|
||||
|
||||
for (i = 0; i < NV50_SU_MAX_TEMP; i++) {
|
||||
/* deallocate fragment program attributes */
|
||||
if (pc->r_temp[i] && pc->r_temp[i]->index == -1)
|
||||
FREE(pc->r_temp[i]);
|
||||
}
|
||||
|
||||
FREE(pc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue