Closed
Bug 1373007
Opened 9 years ago
Closed 9 years ago
WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported
Categories
(Core :: Graphics: CanvasWebGL, enhancement)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla56
| Tracking | Status | |
|---|---|---|
| firefox56 | --- | fixed |
People
(Reporter: svargas, Assigned: svargas)
Details
Attachments
(2 files, 5 obsolete files)
|
2.04 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
|
2.04 KB,
patch
|
Details | Diff | Splinter Review |
https://www.khronos.org/registry/webgl/sdk/tests/conformance/extensions/webgl-draw-buffers-framebuffer-unsupported.html?webglVersion=1&quiet=0
^ Fails because PrecheckBufferStatus doesn't ensure that the same texImageTarget and WebGLTexture aren't bound to multiple attachments at once.
| Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → svargas
Attachment #8877710 -
Flags: review?(jgilbert)
| Assignee | ||
Comment 2•9 years ago
|
||
| Assignee | ||
Comment 3•9 years ago
|
||
Reduced complexity and improved correctness of attachment duplication checking.
Attachment #8877710 -
Attachment is obsolete: true
Attachment #8877710 -
Flags: review?(jgilbert)
Attachment #8877803 -
Flags: review?(jgilbert)
| Assignee | ||
Comment 4•9 years ago
|
||
I updated the patch to remove STENCIL_INDEX references from the tests following the same pattern as this commit:
https://github.com/KhronosGroup/WebGL/commit/7ad77d73fd904695b2851827692e58b30b568a41
https://treeherder.mozilla.org/#/jobs?repo=try&revision=09e6818996435f11cd9f33adb672240303578d4c
Attachment #8877803 -
Attachment is obsolete: true
Attachment #8877803 -
Flags: review?(jgilbert)
Attachment #8877818 -
Flags: review?(jgilbert)
| Assignee | ||
Comment 5•9 years ago
|
||
Disregard previous comment, wrong bug!
Attachment #8877818 -
Attachment is obsolete: true
Attachment #8877818 -
Flags: review?(jgilbert)
| Assignee | ||
Comment 6•9 years ago
|
||
New try to reflect new patch:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3c86e49938ac8eca255fae2b58ae1c473bc156fc
| Assignee | ||
Comment 7•9 years ago
|
||
Forgot to specify mochitest-gl in TryChooser:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=19d88ac7d74cc6fea2dc94e538625d59eb71c83c
| Assignee | ||
Comment 8•9 years ago
|
||
Forgot to upload from the correct git worktree (unrelated patch was also applied):
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d5dacc92e1c1be0e16fd9ddfc7ba95fa89655c68
| Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8877821 -
Attachment is obsolete: true
Attachment #8878708 -
Flags: review?(jgilbert)
Comment 10•9 years ago
|
||
Comment on attachment 8878708 [details] [diff] [review]
0001-Bug-1373007-WebGL-1.04-extensions-webgl-draw-buffers.patch
Review of attachment 8878708 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/canvas/WebGLFramebuffer.cpp
@@ +743,5 @@
> +WebGLFramebuffer::HasDuplicateAttachments() const
> +{
> + std::set<WebGLFBAttachPoint::Ordered> uniqueAttachSet;
> +
> + for (auto& attach : mColorAttachments) {
const auto&
@@ +870,5 @@
> if (!AllImageSamplesMatch())
> return LOCAL_GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE; // Inconsistent samples
>
> + if (HasDuplicateAttachments()) {
> + return LOCAL_GL_FRAMEBUFFER_UNSUPPORTED;
No {} around the return here.
Attachment #8878708 -
Flags: review?(jgilbert) → review+
| Assignee | ||
Comment 11•9 years ago
|
||
Fixed const auto& and {}
Attachment #8878708 -
Attachment is obsolete: true
Updated•9 years ago
|
Attachment #8878710 -
Flags: review+
Comment 12•9 years ago
|
||
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/730c95f8ee15
WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported - r=jgilbert
Comment 13•9 years ago
|
||
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/667c5d2b3f77
Update test markings.
Comment 14•9 years ago
|
||
Comment 15•9 years ago
|
||
Backed both out in https://hg.mozilla.org/integration/mozilla-inbound/rev/ebb13a988e04 for failing to mark the new passes on OS X in test_2_conformance2__rendering__framebuffer-unsupported.html and test_2_conformance__textures__misc__tex-image-with-format-and-type.html, https://treeherder.mozilla.org/logviewer.html#?job_id=109391736&repo=mozilla-inbound and https://treeherder.mozilla.org/logviewer.html#?job_id=109391787&repo=mozilla-inbound
Comment 16•9 years ago
|
||
Oh, test_2_conformance__textures__misc__tex-image-with-format-and-type.html isn't this, it's bug 1372385 and I need one more backout.
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 17•9 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/94a26629a933
WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported. r=jgilbert
Keywords: checkin-needed
Comment 18•9 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/mozilla-central/rev/992a8358d408
More manifest fixups. a=me
Comment 19•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•