WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
229182
compressedTexSubImage2D does not return error when COMPRESSED_RGB_ETC1_WEBGL is used
https://bugs.webkit.org/show_bug.cgi?id=229182
Summary
compressedTexSubImage2D does not return error when COMPRESSED_RGB_ETC1_WEBGL ...
Kimmo Kinnunen
Reported
2021-08-17 02:37:25 PDT
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
Comment 1
2021-08-17 02:39:03 PDT
WebGLRenderingContextBase::validateCompressedTexDimensions ... case ExtensionsGL::ETC1_RGB8_OES: // Not supported for ETC1_RGB8_OES textures. return false;
Kenneth Russell
Comment 2
2021-08-17 11:10:37 PDT
Changed summary: "does" -> "does not".
Radar WebKit Bug Importer
Comment 3
2021-08-24 02:38:16 PDT
<
rdar://problem/82283649
>
Kimmo Kinnunen
Comment 4
2021-08-31 03:16:22 PDT
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).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug