Open
Bug 1287682
Opened 8 years ago
Updated 2 years ago
Got assertion failure when running generated/test_2_conformance2__textures__misc__texture-npot.html
Categories
(Core :: Graphics: CanvasWebGL, defect, P3)
Core
Graphics: CanvasWebGL
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox50 | --- | affected |
People
(Reporter: pchang, Unassigned)
Details
(Whiteboard: [gfx-noted])
Attachments
(3 obsolete files)
I got assertion on MAC with AMD GPU, but chrome doesn't have this problem. BTW this test got passed on my another WIN with NV GPU. Assertion failure: false (GFX: We should have caught all other errors.), at /Users/peter/code/gecko/dom/canvas/WebGLTextureUpload.cpp:2050 #01: _ZN7mozilla12WebGLContext14CopyTexImage2DEjijiiiii[/Users/peter/code/obj-browser-gecko-NOOPT/dist/Nightly.app/Contents/MacOS/XUL +0x34bbb59] #02: _ZN7mozilla3dom28WebGLRenderingContextBindingL14copyTexImage2DEP9JSContextN2JS6HandleIP8JSObjectEEPNS_12WebGLContextERK19JSJitMethodCallArgs[/Users/peter/code/obj-browser-gecko-NOOPT/dist/Nightly.app/Contents/MacOS/XUL +0x2e33422] #03: _ZN7mozilla3dom20GenericBindingMethodEP9JSContextjPN2JS5ValueE[/Users/peter/code/obj-browser-gecko-NOOPT/dist/Nightly.app/Contents/MacOS/XUL +0x33b6ad2] #04: _ZN2js23InternalCallOrConstructEP9JSContextRKN2JS8CallArgsENS_14MaybeConstructE[/Users/peter/code/obj-browser-gecko-NOOPT/dist/Nightly.app/Contents/MacOS/XUL +0x70932a9] #05: _ZL12InternalCallP9JSContextRKN2js13AnyInvokeArgsE[/Users/peter/code/obj-browser-gecko-NOOPT/dist/Nightly.app/Contents/MacOS/XUL +0x70935b2] #06: _ZN2js13CallFromStackEP9JSContextRKN2JS8CallArgsE[/Users/peter/code/obj-browser-gecko-NOOPT/dist/Nightly.app/Contents/MacOS/XUL +0x709343d]
Reporter | ||
Comment 1•8 years ago
|
||
I got GL_INVALID_ENUM(0x500) on my Mac with Intel or AMD GPU.
Whiteboard: [gfx-noted]
Reporter | ||
Comment 2•8 years ago
|
||
After OpenGL 4.1, all ALPHA, LUMINANCE , LUMINANCE_ALPHA are legacy pixel formats. Therefore, we need a workaround for OpenGL 4.1 with WebGL 2.
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → howareyou322
Reporter | ||
Comment 3•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/66378/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/66378/
Attachment #8773635 -
Flags: review?(mtseng)
Reporter | ||
Comment 4•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/66380/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/66380/
Comment 5•8 years ago
|
||
Comment on attachment 8773635 [details] Bug 1287682 - Support legacy formats with CopyTexImage2D API. https://reviewboard.mozilla.org/r/66378/#review63468 Those setting only works for LUMINANCE. For ALPHA and LUMINANCE_ALPHA, this is wrong. I believe the test case didn't examine the result of glCopyTexImage so the test case is pass but I think the actual result is wrong. I think we should examine the result of glCopyTexImage in test case as well.
Attachment #8773635 -
Flags: review?(mtseng) → review-
Reporter | ||
Comment 6•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/69238/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/69238/
Attachment #8773635 -
Attachment description: Bug 1287682 - Use ARB_texture_rg extension to query alpha/luminance texture channels, → Bug 1287682 - Support legacy formats with CopyTexImage2D API.
Attachment #8773636 -
Attachment description: Bug 1287682 - enable conforamnce2/texture/misc test cases, → Bug 1287682 - Add test case for CopyTexImage2D with legacy format,
Attachment #8773635 -
Flags: review- → review?(mtseng)
Attachment #8773636 -
Flags: review?(mtseng)
Reporter | ||
Comment 7•8 years ago
|
||
Comment on attachment 8773635 [details] Bug 1287682 - Support legacy formats with CopyTexImage2D API. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66378/diff/1-2/
Reporter | ||
Comment 8•8 years ago
|
||
Comment on attachment 8773636 [details] Bug 1287682 - Add test case for CopyTexImage2D with legacy format, Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66380/diff/1-2/
Reporter | ||
Updated•8 years ago
|
Attachment #8773636 -
Flags: review?(mtseng)
Reporter | ||
Comment 9•8 years ago
|
||
I tried to enable tests under checkout/conformance2/texture/misc, but got lots of failures. After checking, it was not related to my patch. Will create another bug to address them.
Reporter | ||
Comment 10•8 years ago
|
||
Comment on attachment 8773636 [details] Bug 1287682 - Add test case for CopyTexImage2D with legacy format, Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66380/diff/2-3/
Attachment #8773636 -
Flags: review?(mtseng)
Attachment #8777765 -
Flags: review?(mtseng)
Reporter | ||
Comment 11•8 years ago
|
||
Comment on attachment 8777765 [details] Bug 1287682 - enable testing under checkout/conformance2/textures/misc, Review request updated; see interdiff: https://reviewboard.mozilla.org/r/69238/diff/1-2/
Reporter | ||
Comment 12•8 years ago
|
||
https://reviewboard.mozilla.org/r/66378/#review63468 This bug was already addressed at 1290634
Reporter | ||
Comment 13•8 years ago
|
||
mozreview-review |
Comment on attachment 8773635 [details] Bug 1287682 - Support legacy formats with CopyTexImage2D API. https://reviewboard.mozilla.org/r/66376/#review67078
Reporter | ||
Updated•8 years ago
|
Attachment #8773635 -
Attachment is obsolete: true
Attachment #8773635 -
Flags: review?(mtseng)
Reporter | ||
Updated•8 years ago
|
Attachment #8773636 -
Attachment is obsolete: true
Attachment #8773636 -
Flags: review?(mtseng)
Reporter | ||
Updated•8 years ago
|
Attachment #8777765 -
Attachment is obsolete: true
Attachment #8777765 -
Flags: review?(mtseng)
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Assignee: howareyou322 → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•