iris: Stop leaking iris_uncompiled_shaders like mad
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Nov 2018 00:43:21 +0000 (16:43 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
Now shader-db actually executes.  We still need a plan for culling
dead iris_compiled_shaders...

src/gallium/drivers/iris/iris_state.c

index 6342da5c08148730da8f7cfb1c9dd62a2b286288..d35738ea51ccb8c58a3accb3b729840e55701889 100644 (file)
@@ -5313,14 +5313,9 @@ genX(init_state)(struct iris_context *ice)
    ctx->bind_vertex_elements_state = iris_bind_vertex_elements_state;
    ctx->delete_blend_state = iris_delete_state;
    ctx->delete_depth_stencil_alpha_state = iris_delete_state;
-   ctx->delete_fs_state = iris_delete_state;
    ctx->delete_rasterizer_state = iris_delete_state;
    ctx->delete_sampler_state = iris_delete_state;
    ctx->delete_vertex_elements_state = iris_delete_state;
-   ctx->delete_tcs_state = iris_delete_state;
-   ctx->delete_tes_state = iris_delete_state;
-   ctx->delete_gs_state = iris_delete_state;
-   ctx->delete_vs_state = iris_delete_state;
    ctx->set_blend_color = iris_set_blend_color;
    ctx->set_clip_state = iris_set_clip_state;
    ctx->set_constant_buffer = iris_set_constant_buffer;