Mesa (master): swr/rast: remove unused variables

Tim Rowley torowley at kemper.freedesktop.org
Thu Jul 6 21:39:45 UTC 2017


Module: Mesa
Branch: master
Commit: 1f0680b51ef445a06f990684142f52286ce4a314
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f0680b51ef445a06f990684142f52286ce4a314

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Jul  6 10:41:58 2017 -0500

swr/rast: remove unused variables

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

---

 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 8110a7d56f..ae5cd47821 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 4e618f5c09..fb80fe2d9c 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));
 




More information about the mesa-commit mailing list