Commit 8ed7ae4c by Antonio Maiorano

Fix REACTOR_DEFAULT_OPT_LEVEL not actually applying

Made this change in code review without proper testing. The "level" being set here was the input argument, rather than the data member. Bug: b/145685985 Change-Id: I8641701cc0600837f4dc612d29ffaa4cd63390b1 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39269 Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
parent bb7c3388
...@@ -73,7 +73,7 @@ namespace rr ...@@ -73,7 +73,7 @@ namespace rr
{ {
#if defined(REACTOR_DEFAULT_OPT_LEVEL) #if defined(REACTOR_DEFAULT_OPT_LEVEL)
{ {
level = Level::REACTOR_DEFAULT_OPT_LEVEL; this->level = Level::REACTOR_DEFAULT_OPT_LEVEL;
} }
#endif #endif
} }
......
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