From: Tim Rowley Date: Thu, 6 Jul 2017 15:41:58 +0000 (-0500) Subject: swr/rast: remove unused variables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f0680b51ef445a06f990684142f52286ce4a314;p=mesa.git swr/rast: remove unused variables Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp index 8110a7d56f0..ae5cd47821d 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 4e618f5c09f..fb80fe2d9cd 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));