Commit 8beb2402 by Alexis Hetu Committed by Alexis Hétu

Linux build fix

The copy constructor of std::atomic is not allowed, so initialization through operator= is not allowed. Explicitly using the AtomicInt constructor to fix this issue. Change-Id: If77763e89e0d958d8a4b5a83d5d7bd9e3ba08ff6 Reviewed-on: https://swiftshader-review.googlesource.com/12508Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent aa2666f9
......@@ -63,8 +63,8 @@ namespace sw
int batchSize = 128;
int threadCount = 1;
AtomicInt Renderer::unitCount = 1;
AtomicInt Renderer::clusterCount = 1;
AtomicInt Renderer::unitCount(1);
AtomicInt Renderer::clusterCount(1);
TranscendentalPrecision logPrecision = ACCURATE;
TranscendentalPrecision expPrecision = ACCURATE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment