summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-09-16 14:47:44 +0200
committerChristoph Bumiller <[email protected]>2010-09-16 14:49:23 +0200
commit3a62365f402b1159afd526fb4b510cdb51de1365 (patch)
tree29c48ea4570967a69532fa239d939bfd5ffdfb6e /src/gallium/drivers/nv50/nv50_program.c
parente0aa7e043803b10f503440ed088d89b67f5fd66f (diff)
nv50: get shader fixups/relocations into working state
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index b3600f7ba73..db681764910 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -653,5 +653,8 @@ nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p)
if (p->code)
FREE(p->code);
+ if (p->fixups)
+ FREE(p->fixups);
+
p->translated = FALSE;
}