As with svga, llvmpipe drivers in previous patches. Compile tested only. --- src/gallium/drivers/swr/swr_state.cpp | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index d7baa71..42d196f 100644 --- a/src/gallium/drivers/swr/swr_state.cpp +++ b/src/gallium/drivers/swr/swr_state.cpp @@ -302,11 +302,6 @@ swr_set_sampler_views(struct pipe_context *pipe, /* set the new sampler views */ ctx->num_sampler_views[shader] = num; for (i = 0; i < num; i++) { - /* Note: we're using pipe_sampler_view_release() here to work around - * a possible crash when the old view belongs to another context that - * was already destroyed. - */ - pipe_sampler_view_release(pipe, &ctx->sampler_views[shader][start + i]); pipe_sampler_view_reference(&ctx->sampler_views[shader][start + i], views[i]); } -- 1.8.5.6 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev