summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-09-12 15:07:04 -0600
committerBrian Paul <[email protected]>2008-09-12 15:07:31 -0600
commitd598a5d2301faea810a2449db7a32ff48e80b979 (patch)
tree357e49cbe35e07fabb8fb121f4bc3ca1fe089a31
parent272810125b7dacde34d2d0a55a2afa19c72f5ee8 (diff)
cell: disable invalid spe_release_func() calls, fixes crash on exit
-rw-r--r--src/gallium/drivers/cell/ppu/cell_pipe_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_pipe_state.c b/src/gallium/drivers/cell/ppu/cell_pipe_state.c
index 475c6ef0ce6..ea820aca744 100644
--- a/src/gallium/drivers/cell/ppu/cell_pipe_state.c
+++ b/src/gallium/drivers/cell/ppu/cell_pipe_state.c
@@ -72,7 +72,9 @@ cell_delete_blend_state(struct pipe_context *pipe, void *blend)
{
struct cell_blend_state *cb = (struct cell_blend_state *) blend;
+#if 0
spe_release_func(& cb->code);
+#endif
FREE(cb);
}
@@ -128,7 +130,9 @@ cell_delete_depth_stencil_alpha_state(struct pipe_context *pipe, void *depth)
struct cell_depth_stencil_alpha_state *cdsa =
(struct cell_depth_stencil_alpha_state *) depth;
+#if 0
spe_release_func(& cdsa->code);
+#endif
FREE(cdsa);
}