[Mesa-dev] [PATCH 3/3] swr/rast: remove unused variables

Cherniak, Bruce bruce.cherniak at intel.com
Thu Jul 6 19:37:08 UTC 2017


Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

> On Jul 6, 2017, at 11:26 AM, Tim Rowley <timothy.o.rowley at intel.com> wrote:
> 
> ---
> src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp     | 2 --
> src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp | 2 --
> 2 files changed, 4 deletions(-)
> 
> diff --git a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
> index 8110a7d..ae5cd47 100644
> --- a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
> +++ b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
> @@ -89,8 +89,6 @@ struct FetchJit : public Builder
> 
> Function* FetchJit::Create(const FETCH_COMPILE_STATE& fetchState)
> {
> -    static std::size_t fetchNum = 0;
> -
>     std::stringstream fnName("FetchShader_", std::ios_base::in | std::ios_base::out | std::ios_base::ate);
>     fnName << ComputeCRC(0, &fetchState, sizeof(fetchState));
> 
> diff --git a/src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp
> index 4e618f5..fb80fe2 100644
> --- a/src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp
> +++ b/src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp
> @@ -263,8 +263,6 @@ struct StreamOutJit : public Builder
> 
>     Function* Create(const STREAMOUT_COMPILE_STATE& state)
>     {
> -        static std::size_t soNum = 0;
> -
>         std::stringstream fnName("SO_", std::ios_base::in | std::ios_base::out | std::ios_base::ate);
>         fnName << ComputeCRC(0, &state, sizeof(state));
> 
> -- 
> 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