Mardok
Member
|
[solved] [Android] - Error linking vertex+pixel shader in technique ...
Hi all,
I have problem with Esetnhel sample project, when i try:
Run As -> Android Application then in Log Cat i have two errors:
error 1: 11-17 18:25:08.593: I/Esenthel(8061): Error linking vertex+pixel shader in technique "Simple" of shader ""
error2 : Error: varying variables do not fit in 8 vectors.
Device screen goes black for one moment and and thats all...
@@@
Device: Sony Ericsson Xperia ARC
OS: Android 2.3.4
CPU: Qualcomm MSM8250 Snapdragon 1 GHz
GPU: Adreno 205
(This post was last modified: 11-18-2011 11:51 PM by Mardok.)
|
|
11-17-2011 06:51 PM |
|
Esenthel
Administrator
|
RE: [Android] - Error linking vertex+pixel shader in technique ...
Thank you! I am investigating this
|
|
11-17-2011 10:52 PM |
|
Esenthel
Administrator
|
RE: [Android] - Error linking vertex+pixel shader in technique ...
It looks like your device's OpenGL driver doesn't correctly count the number of varyings used in shaders. (my device also has max 8 varyings, but loads shaders correctly).
I'll need to find a workaround for this.
I'll put this as priority in my todo list.
|
|
11-17-2011 11:07 PM |
|
Mardok
Member
|
RE: [Android] - Error linking vertex+pixel shader in technique ...
Good, I count for you and I'm waiting for fix... maybe you'll be able do this for weekend...
Aaaa and sory for bad thread location, you should move it to "Support > Platforms"
|
|
11-18-2011 03:51 PM |
|
Esenthel
Administrator
|
RE: [Android] - Error linking vertex+pixel shader in technique ...
I've uploaded the newest Android SDK which I hope should fix your issue.
Please let me know if it works correctly now.
|
|
11-18-2011 07:08 PM |
|
Mardok
Member
|
RE: [Android] - Error linking vertex+pixel shader in technique ...
Not working.
Error Loading ShaderTech "Laser" in Shader "".
(This post was last modified: 11-18-2011 09:22 PM by Mardok.)
|
|
11-18-2011 09:19 PM |
|
Esenthel
Administrator
|
RE: [Android] - Error linking vertex+pixel shader in technique ...
Thanks! It's progress.
I'll investigate the laser technique.
|
|
11-18-2011 09:23 PM |
|
Esenthel
Administrator
|
RE: [Android] - Error linking vertex+pixel shader in technique ...
Hi,
I've uploaded a newer android SDK, it doesn't contain any fix, but should display more information in the log output about what has failed during compilation of the shader on your device's OpenGL driver.
Please let me know the log output.
Thank you
|
|
11-18-2011 11:19 PM |
|
Mardok
Member
|
RE: [solved] [Android] - Error linking vertex+pixel shader in technique ...
Problem solved!
All working fine!
SE Xperia Arc - 60 fps, vsync is on i think.
|
|
11-18-2011 11:51 PM |
|