[Mesa-dev] [PATCH] swr: fix unused variable warnings
Cherniak, Bruce
bruce.cherniak at intel.com
Fri Apr 7 19:20:28 UTC 2017
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
> On Apr 6, 2017, at 7:10 PM, Tim Rowley <timothy.o.rowley at intel.com> wrote:
>
> ---
> src/gallium/drivers/swr/swr_screen.cpp | 1 -
> src/gallium/drivers/swr/swr_shader.cpp | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
> index 0a5060b..d737ddf 100644
> --- a/src/gallium/drivers/swr/swr_screen.cpp
> +++ b/src/gallium/drivers/swr/swr_screen.cpp
> @@ -879,7 +879,6 @@ swr_resource_destroy(struct pipe_screen *p_screen, struct pipe_resource *pt)
> {
> struct swr_screen *screen = swr_screen(p_screen);
> struct swr_resource *spr = swr_resource(pt);
> - struct pipe_context *pipe = screen->pipe;
>
> if (spr->display_target) {
> /* If resource is display target, winsys manages the buffer and will
> diff --git a/src/gallium/drivers/swr/swr_shader.cpp b/src/gallium/drivers/swr/swr_shader.cpp
> index 9d42ecd..6fc0596 100644
> --- a/src/gallium/drivers/swr/swr_shader.cpp
> +++ b/src/gallium/drivers/swr/swr_shader.cpp
> @@ -490,7 +490,6 @@ BuilderSWR::swr_gs_llvm_epilogue(const struct lp_build_tgsi_gs_iface *gs_base,
> LLVMValueRef emitted_prims_vec)
> {
> swr_gs_llvm_iface *iface = (swr_gs_llvm_iface*)gs_base;
> - SWR_GS_STATE *pGS = iface->pGsState;
>
> IRB()->SetInsertPoint(unwrap(LLVMGetInsertBlock(gallivm->builder)));
>
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list