Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shader compile errors in `ps_blend` #653

Closed
mmatyas opened this issue Dec 16, 2016 · 0 comments
Closed

Shader compile errors in `ps_blend` #653

mmatyas opened this issue Dec 16, 2016 · 0 comments
Labels

Comments

@mmatyas
Copy link
Contributor

@mmatyas mmatyas commented Dec 16, 2016

I was trying to open http://en.wikipedia.org/wiki/Rust on a Samsung Galaxy S5, but got the following shader compile errors:

D/RustAndroidGlueStdouterr( 3042): Failed to compile shader: "ps_blend"
D/RustAndroidGlueStdouterr( 3042): Vertex shader compilation failed.
D/RustAndroidGlueStdouterr( 3042): ERROR: 0:24: '/' :  wrong operand types  no operation '/' exists that takes a left-hand operand of type 'int' and a right operand of type 'const float' (or there is no acceptable conversion)
D/RustAndroidGlueStdouterr( 3042): ERROR: 0:24: 'assign' :  cannot convert from 'int' to 'varying float'
D/RustAndroidGlueStdouterr( 3042): ERROR:servo: -- Shader compile failed - exiting --
D/RustAndroidGlueStdouterr( 3042): ERROR: 2 compilation errors.  No code generated.
@kvark kvark added the type: bug label Dec 16, 2016
bors-servo added a commit that referenced this issue Dec 28, 2016
Fixed the int to float conversion in ps_blend

Fixes #653

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/670)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.