diff options
author | Christoph Bumiller <[email protected]> | 2010-01-16 11:36:03 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-01-16 18:07:31 +0100 |
commit | bbb615382d60aa927913b5d1e834727854419438 (patch) | |
tree | 60b30142fa5eb41b84da94456c34e597203bc1e2 /src/gallium/drivers/nv50/nv50_context.c | |
parent | e791e6f27cd8cac7f3a29a981cee1fd2070c94ed (diff) |
nv50: support for geometry programs in nv50_program
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c index 5997456e4c9..22a8498c69b 100644 --- a/src/gallium/drivers/nv50/nv50_context.c +++ b/src/gallium/drivers/nv50/nv50_context.c @@ -67,8 +67,12 @@ nv50_destroy(struct pipe_context *pipe) so_ref(NULL, &nv50->state.vertprog); if (nv50->state.fragprog) so_ref(NULL, &nv50->state.fragprog); - if (nv50->state.programs) - so_ref(NULL, &nv50->state.programs); + if (nv50->state.geomprog) + so_ref(NULL, &nv50->state.geomprog); + if (nv50->state.fp_linkage) + so_ref(NULL, &nv50->state.fp_linkage); + if (nv50->state.gp_linkage) + so_ref(NULL, &nv50->state.gp_linkage); if (nv50->state.vtxfmt) so_ref(NULL, &nv50->state.vtxfmt); if (nv50->state.vtxbuf) |