swr/rast: remove unused variables
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 6 Jul 2017 15:41:58 +0000 (10:41 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 6 Jul 2017 20:00:54 +0000 (15:00 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp

index 8110a7d56f0c5b2456468a928c7951d70a2f4109..ae5cd47821d66e395d967a3877ef5a7723d1a8cc 100644 (file)
@@ -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));
 
index 4e618f5c09f67c891dfde83771d2edd08ef0f5f6..fb80fe2d9cd0ffa8e7b8b0b5d2f7309987a7793b 100644 (file)
@@ -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));