New issue
Advanced search Search tips

Issue 689786 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug

Blocked on:
issue 690335

Blocking:
issue 682753



Sign in to add a comment

Google Pixel fails WebGL 2.0.0 webgl-compressed-texture-etc.html

Project Member Reported by kainino@chromium.org, Feb 8 2017

Issue description

This could be a driver bug. It fails on both WebGL 1 and WebGL 2 in slightly different ways - but I suspect at least one of them is a bug in the test (my bad...).

compressedTexImage2D with COMPRESSED_R11_EAC throws INVALID_VALUE because imageSize is 0 instead of 8 (which is the correct size of a 4x4 block). However, if this is fixed in the test, the error value changes from INVALID_VALUE to NO_ERROR, instead of INVALID_OPERATION.

TODO: look at how this fails on a non-Qualcomm device and see if anything is different. I know it fails on Pixel C as well (per  Issue 682490 ).
 
Labels: -Pri-3 OS-Android Pri-1
Description: Show this description
Part of this seems to be that somehow, getSupportedExtensions is causing INVALID_ENUM. However, webgl-compressed-texture-astc.html shows the same behavior without failing as a result.

If I switch the test to use getSupportedExtensionWithKnownPrefixes, I get:
FAIL WEBGL_compressed_texture_etc listed as unsupported but getExtension succeeded.

I really need to compare this with Pixel C.
I'm also seeing a flaky crash (webgl hit a snag) while trying to debug this test.
Realized I'm somehow able to see this extension on WebGL 1 even though I hadn't enabled draft extensions.

Also, this extension is draft on WebGL 1, but not draft on WebGL 2. Is this right?

This test... seems to hit a test bug, at least one browser bug, and possibly a driver bug all at once. Plus a flaky crash? Very weird.
> FAIL WEBGL_compressed_texture_etc listed as unsupported but getExtension succeeded.

This was an error in the test.
> getSupportedExtensions is causing INVALID_ENUM

This has mysteriously disappeared. It may be flaky.
Blockedon: 690335
Status: Fixed (was: Assigned)
This test passes now with https://codereview.chromium.org/2680313009 .
Components: -Internals>GPU>WebGL Blink>WebGL

Sign in to add a comment