Bug 56968
| Summary: | Passing too many numbers in uniform* causes some drivers generate INVALID_OPERATION | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Zhenyao Mo <zmo> |
| Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | bfulgham, cmarrin, kbr, kkinnunen |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Zhenyao Mo
Tested on my Mac/Linux, no error is generated. Tested on my Windows (NVIDIA, Quadro FX 380, driver DLL version 8.15.11.9038), INVALID_OPERATION is generated both with Desktop GL or ANGLE.
SO the fix is in WebGLRenderingContext, we trim the extra numbers and don't pass them down to the lower GL implementation.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Zhenyao Mo
The chromium side bug is http://cvbug.com/77233
Zhenyao Mo
Wrong link. Should be http://crbug.com/77233