From: Kenneth Graunke Date: Thu, 29 Nov 2018 00:43:21 +0000 (-0800) Subject: iris: Stop leaking iris_uncompiled_shaders like mad X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c0f001295960f4f19671a983d4dbbf809165e3c;p=mesa.git iris: Stop leaking iris_uncompiled_shaders like mad Now shader-db actually executes. We still need a plan for culling dead iris_compiled_shaders... --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 6342da5c081..d35738ea51c 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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;