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 `cs_clip_clear` #654

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

Shader compile errors in `cs_clip_clear` #654

mmatyas opened this issue Dec 16, 2016 · 2 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 OnePlus 2, but got the following shader compilation errors:

12-16 13:02:14.192 31641 31657 I Adreno  : ERROR: 0:18: '=' :  cannot convert from '2-component vector of int' to '2-component vector of float'
12-16 13:02:14.192 31641 31657 I Adreno  : ERROR: 0:6: 'CacheClipInstance' : undeclared identifier 
12-16 13:02:14.192 31641 31657 I Adreno  : ERROR: 0:6: 'cci' : Syntax error:  syntax error
12-16 13:02:14.192 31641 31657 I Adreno  : ERROR: 3 compilation errors.  No code generated.
12-16 13:02:14.192 31641 31657 I Adreno  : 
12-16 13:02:14.193 31641 31661 D RustAndroidGlueStdouterr: Failed to compile shader: "cs_clip_clear"
12-16 13:02:14.193 31641 31660 D RustAndroidGlueStdouterr: ERROR:servo: -- Shader compile failed - exiting --
12-16 13:02:14.194 31641 31661 D RustAndroidGlueStdouterr: ERROR: 0:18: '=' :  cannot convert from '2-component vector of int' to '2-component vector of float'
12-16 13:02:14.194 31641 31661 D RustAndroidGlueStdouterr: ERROR: 0:6: 'CacheClipInstance' : undeclared identifier 
12-16 13:02:14.194 31641 31661 D RustAndroidGlueStdouterr: ERROR: 0:6: 'cci' : Syntax error:  syntax error
12-16 13:02:14.194 31641 31661 D RustAndroidGlueStdouterr: ERROR: 3 compilation errors.  No code generated.
12-16 13:02:14.194 31641 31661 D RustAndroidGlueStdouterr: 
12-16 13:02:14.194 31641 31661 D RustAndroidGlueStdouterr: 
12-16 13:02:14.194 31641 31661 D RustAndroidGlueStdouterr: -- Shader compile failed - exiting -- (thread <unnamed>, at /home/mmatyas/Servo/servo-android/servo/.cargo/git/checkouts/webrender-c3596abe1cf4f320/c4a0c01/webrender/src/device.rs:834)
12-16 13:02:14.209 31641 31657 E Gecko   : mozalloc_abort: Redirecting call to abort() to mozalloc_abort

@kvark
Copy link
Member

@kvark kvark commented Dec 28, 2016

Looking at the shaders, I wasn't able to find that error spot yet. Line numbers seem quite off, judging by #653, which had error reported at line 24 that is actually at line 43.

bors-servo added a commit that referenced this issue Jan 4, 2017
Fixed shader compile error in cs_clip_image VS

That's something I found while looking for the cause of #654
Doesn't look like it would fix it, but it would be great to have another try on Android after this PR is merged (cc @mmatyas ).

r? @glennw

<!-- 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/681)
<!-- Reviewable:end -->
@glennw
Copy link
Member

@glennw glennw commented Feb 7, 2017

I believe these are resolved now - please re-open if still occurring.

@glennw glennw closed this Feb 7, 2017
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
3 participants
You can’t perform that action at this time.