Bug 180183
| Summary: | "WebGL: ERROR: unsupported shader version" on WebGL2 shader compile | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ebrahim Byagowi <ebrahim> |
| Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | dino, mmaxfield, reon90, simon.fraser |
| Priority: | P2 | ||
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ebrahim Byagowi
Perhaps WONTFIX as oldness of my device but have a look, seems reported here also https://forums.developer.apple.com/thread/81177
Steps to reproduce:
0. An updated (High Sierra) but old enough Mac with Intel HD 3000 maybe, Safari Technology Preview with WebGL 2.0 enabled.
1. https://tsherif.github.io/webgl2examples/triangle.html
What happens?
"WebGL: ERROR: unsupported shader version" on shaders with "#version 300 es".
OpenGL 3.3 backported features like pipeline location and such from OpenGL 4 supported hardwares to OpenGL 3 so I wonder if the same can happen here.
Firefox raises this message from ANGLE I guess on the same hardware,
`
Error: WebGL warning: Failed to create WebGL context: WebGL creation failed:
* WebGL 2 requires support for the following features:
transform_feedback2
* Exhausted GL driver options.
triangle.html:48:18
`
If that is the case, would be nice if WebKit says it clearly.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
reon90
I have the same problems, Mac book pro 2017, Radeon Pro 555 2 GB, Intel HD Graphics 630 1536 MB.
Ebrahim Byagowi
I at least won't care anymore about getting ANGLE compilation messages on dev tools so let me close this. Thanks :)