| commit | f2878347c75f8b599fb4f0734fa0484a13418908 | [log] [tgz] |
|---|---|---|
| author | Alexis Hetu <sugoi@google.com> | Tue Mar 12 16:32:04 2019 -0400 |
| committer | Alexis Hétu <sugoi@google.com> | Wed Mar 13 18:34:03 2019 +0000 |
| tree | c0c91bd2db0fd2fc7105efc800845c978703f376 | |
| parent | 6480d4e10cb57f36baa2b03f8eb40b8d04f0e39f [diff] [blame] |
Remove precacheDLL Remove leftover variables not cleaned up in: https://swiftshader-review.googlesource.com/c/SwiftShader/+/7250 Change-Id: Ia2e66c15e5cadeed32f564c60d5105c17319e9d4 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27028 Presubmit-Ready: Alexis Hétu <sugoi@google.com> Tested-by: Alexis Hétu <sugoi@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Device/VertexProcessor.cpp b/src/Device/VertexProcessor.cpp index 21ab83f..47ce148 100644 --- a/src/Device/VertexProcessor.cpp +++ b/src/Device/VertexProcessor.cpp
@@ -94,7 +94,7 @@ void VertexProcessor::setRoutineCacheSize(int cacheSize) { delete routineCache; - routineCache = new RoutineCache<State>(clamp(cacheSize, 1, 65536), precacheVertex ? "sw-vertex" : 0); + routineCache = new RoutineCache<State>(clamp(cacheSize, 1, 65536)); } const VertexProcessor::State VertexProcessor::update(DrawType drawType)