Bug 229182
| Summary: | compressedTexSubImage2D does not return error when COMPRESSED_RGB_ETC1_WEBGL is used | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
| Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | dino, kbr, kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=229180 | ||
Kimmo Kinnunen
compressedTexSubImage2D does return error when COMPRESSED_RGB_ETC1_WEBGL is used
Would have been easier to understand the behavior for the developer in bug 229180.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Kimmo Kinnunen
WebGLRenderingContextBase::validateCompressedTexDimensions
...
case ExtensionsGL::ETC1_RGB8_OES:
// Not supported for ETC1_RGB8_OES textures.
return false;
Kenneth Russell
Changed summary: "does" -> "does not".
Radar WebKit Bug Importer
<rdar://problem/82283649>
Kimmo Kinnunen
In fact, the unreported error in validateCompressedTexSubDimensions is !USE(ANGLE) block. ANGLE does report INVALID_OPERATION and this should have been observable in the original report should I have understood to add a check for it. (Since it's from ANGLE and not a simulated error, it's not printed in the console).