cell: disable invalid spe_release_func() calls, fixes crash on exit
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Sep 2008 21:07:04 +0000 (15:07 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Sep 2008 21:07:31 +0000 (15:07 -0600)
src/gallium/drivers/cell/ppu/cell_pipe_state.c

index 475c6ef0ce645f06415a2102e903d0051c1ed974..ea820aca7443e856d8e6902e2f6652053702130a 100644 (file)
@@ -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);
 }