Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnexpected WebGL error: 0x506 (1286) #13985
Comments
|
@bobbydigitales Any idea what page you were on when this happened? |
|
It was the basic cube example of three.js: On Oct 30, 2016 05:58, "Josh Matthews" notifications@github.com wrote:
|
|
Failed to reproduce on a Linux Skylake system. The page just throws a compile failure due to highp usage (which is apparently not getting translated away?) |
|
This was caused because by default Angle transpiler throws an exception when using highp qualifier in shaders. The property FragmentPrecisionHigh must be set to support highp. |
Implement WebGL::GetShaderPrecisionFormat <!-- Please describe your changes on the following line: --> Implement WebGL::GetShaderPrecisionFormat. See servo/gleam#119 && servo/webrender#1127 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #13985 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16544) <!-- Reviewable:end -->
Unexpected WebGL error: 0x506 (1286)
URL:
Servo Version:
Servo 0.0.1-b611e5c
Backtrace:
This report was generated by the browser.html issue reporter.