commit | 2eda5b3a65f54105ae3776160373eed5500c515f | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Wed Sep 21 10:53:24 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 21 10:53:24 2016 -0700 |
tree | ace0d82e04790bdbad3f8e061f03e2cfbdea4482 | |
parent | 7d05f32a1dec990321ffd8165d5f253ab99de3e5 [diff] [blame] |
Conditionally insert gl_PointSize into shaders. BUG=chromium:648816 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2358843002 Review-Url: https://codereview.chromium.org/2358843002
diff --git a/src/gpu/instanced/GLInstancedRendering.cpp b/src/gpu/instanced/GLInstancedRendering.cpp index bd014ec..dabfe4e 100644 --- a/src/gpu/instanced/GLInstancedRendering.cpp +++ b/src/gpu/instanced/GLInstancedRendering.cpp
@@ -204,7 +204,7 @@ if (!fDrawIndirectBuffer && !fGLDrawCmdsInfo) { return; // beginFlush was not successful. } - if (!this->glGpu()->flushGLState(pipeline, instProc)) { + if (!this->glGpu()->flushGLState(pipeline, instProc, false)) { return; }