Closed Bug 1426289 Opened 8 years ago Closed 8 years ago

58's ANGLE doesn't flush vertexAttrib4f updates

Categories

(Core :: Graphics: CanvasWebGL, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox-esr52 --- unaffected
firefox57 --- unaffected
firefox58 + fixed
firefox59 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

()

Details

(Whiteboard: gfx-noted)

Attachments

(2 files, 3 obsolete files)

The linked URL should show three points. (From left to right: red, blue, green) Right now, it shows just the red point. If you disable DEPTH_TEST, the point won't move, but will look blue. This is because it's actually the final blue point, but the vertexAttrib4f data hasn't been sent to D3D, so it renders in the same place. With DEPTH_TEST, rendering points in the same place as the first one fails the depth test, so we are left with just the original point. This appears to be fixed upstream: https://chromium.googlesource.com/angle/angle/+/9088557fe47e0ce1487b248b60acbc740acd7801
Attachment #8937895 - Attachment is obsolete: true
Attachment #8937896 - Attachment is obsolete: true
Comment on attachment 8937897 [details] Bug 1426289 - Add test for vertexAttrib4f updates. https://reviewboard.mozilla.org/r/208590/#review214374 r+ for cherry-pick from upstream
Attachment #8937897 - Flags: review?(cleu) → review+
(FYI Milan)
Flags: needinfo?(milan)
Man, mozreview is not having a good time here.
Let's add these manually.
Attachment #8937897 - Attachment is obsolete: true
Attachment #8937938 - Flags: review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Comment on attachment 8937938 [details] [diff] [review] 0001-Bug-1426289-Cherry-pick-angle-issue-1155.-r-lenzak.patch Approval Request Comment [Feature/Bug causing the regression]: FF58 ANGLE update [User impact if declined]: Broken rendering for mostly example content. [Is this code covered by automated tests?]: test included [Has the fix been verified in Nightly?]: yes [Needs manual test from QE? If yes, steps to reproduce]: no [List of other uplifts needed for the feature/fix]: none [Is the change risky?]: low risk [Why is the change risky/not risky?]: This is a cherry-pick of the upstream ANGLE fix, so it fixes this problem. The changed code increases invalidation, so it should be safe. [String changes made/needed]: none
Attachment #8937938 - Flags: approval-mozilla-beta?
Comment on attachment 8937938 [details] [diff] [review] 0001-Bug-1426289-Cherry-pick-angle-issue-1155.-r-lenzak.patch Cherry pick ANGLE fix in 58. Beta58+.
Attachment #8937938 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: needinfo?(milan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: