Commit c847a75f by shrekshao Committed by Commit Bot

Fix redundant draw in DrawBaseVertexBaseInstanceTest

Discovered this redundant draw issue when writing javascript webgl conformance test. Together fix some broken formatting. TBR=geofflang@chromium.org Bug: 3402 Change-Id: I29dbcd04da7e47d9e0bc79074ff69202378c1214 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1816822Reviewed-by: 's avatarShrek Shao <shrekshao@google.com> Commit-Queue: Shrek Shao <shrekshao@google.com>
parent 1850492e
...@@ -309,7 +309,7 @@ void main() ...@@ -309,7 +309,7 @@ void main()
const uint32_t countPerDraw = kCountY * 6; const uint32_t countPerDraw = kCountY * 6;
const GLsizei drawCount = kCountX; const GLsizei drawCount = kCountX / 2;
const std::vector<GLsizei> counts(drawCount, countPerDraw); const std::vector<GLsizei> counts(drawCount, countPerDraw);
const std::vector<GLsizei> firsts(drawCount, 0); const std::vector<GLsizei> firsts(drawCount, 0);
const std::vector<GLsizei> instanceCounts(drawCount, 2); const std::vector<GLsizei> instanceCounts(drawCount, 2);
......
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