Closed
Bug 1404196
Opened 6 years ago
Closed 6 years ago
Non-instanced draw calls must also check that at least one vertex attrib divisor is 0
Categories
(Core :: Graphics: CanvasWebGL, defect, P1)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla58
People
(Reporter: jgilbert, Assigned: jgilbert)
References
Details
(Whiteboard: gfx-noted)
Attachments
(3 files)
Though it's a little unclear from the parent specs, this is explicitly stated in the WebGL 2 spec: https://www.khronos.org/registry/webgl/specs/latest/2.0/#ENABLED_ATTRIBUTE
Assignee | ||
Updated•6 years ago
|
Whiteboard: gfx-noted
Target Milestone: --- → mozilla58
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•6 years ago
|
||
This patch breaks quite a few conformance tests, I think we should only performance this validation when we use ANGLE_instanced_array extension.
Assignee | ||
Comment 4•6 years ago
|
||
Let me finish debugging it.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•6 years ago
|
||
Looking better: (linux came back green. win/mac TBD) https://treeherder.mozilla.org/#/jobs?repo=try&revision=fae36bb74a5cc75673fe13b48e38f469a2964d85
Updated•6 years ago
|
status-firefox57:
--- → fix-optional
status-firefox58:
--- → fix-optional
Comment 7•6 years ago
|
||
mozreview-review |
Comment on attachment 8913548 [details] Bug 1404196 - Add profiling labels for WebGL draw commands. - https://reviewboard.mozilla.org/r/184922/#review190480 LGTM
Attachment #8913548 -
Flags: review?(cleu) → review+
Updated•6 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 11•6 years ago
|
||
mozreview-review |
Comment on attachment 8923665 [details] Bug 1404196 - Add CacheMap for simplifying complex cache dependency invalidation. - https://reviewboard.mozilla.org/r/194786/#review199848 C/C++ static analysis found 1 defect in this patch. You can run this analysis locally with: `./mach static-analysis check path/to/file.cpp` If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx ::: dom/canvas/CacheMap.cpp:14 (Diff revision 1) > +namespace mozilla { > + > +void > +CacheMapInvalidator::InvalidateCaches() const > +{ > + while (mCacheEntries.size()) { Warning: The 'empty' method should be used to check for emptiness instead of 'size' [clang-tidy: readability-container-size-empty] while (mCacheEntries.size()) { ^ !mCacheEntries.empty()
Comment 12•6 years ago
|
||
mozreview-review |
Comment on attachment 8913548 [details] Bug 1404196 - Add profiling labels for WebGL draw commands. - https://reviewboard.mozilla.org/r/184922/#review199904
Attachment #8913548 -
Flags: review?(dmu) → review+
Comment 13•6 years ago
|
||
mozreview-review |
Comment on attachment 8923665 [details] Bug 1404196 - Add CacheMap for simplifying complex cache dependency invalidation. - https://reviewboard.mozilla.org/r/194786/#review199918 lgtm!
Attachment #8923665 -
Flags: review?(dmu) → review+
Comment 14•6 years ago
|
||
mozreview-review |
Comment on attachment 8923666 [details] Bug 1404196 - Simplify and repair vertex fetch. - https://reviewboard.mozilla.org/r/194788/#review200462 lgtm. thanks!
Attachment #8923666 -
Flags: review?(dmu) → review+
Comment 15•6 years ago
|
||
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f04beba33601 Add profiling labels for WebGL draw commands. - r=daoshengmu https://hg.mozilla.org/integration/mozilla-inbound/rev/3cd543f596da Add CacheMap for simplifying complex cache dependency invalidation. - r=daoshengmu https://hg.mozilla.org/integration/mozilla-inbound/rev/a8d61165ea3e Simplify and repair vertex fetch. - r=daoshengmu https://hg.mozilla.org/integration/mozilla-inbound/rev/f9baf7fe5e81 Update test failures.
Comment 16•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f04beba33601 https://hg.mozilla.org/mozilla-central/rev/3cd543f596da https://hg.mozilla.org/mozilla-central/rev/a8d61165ea3e https://hg.mozilla.org/mozilla-central/rev/f9baf7fe5e81
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•