About Store Forum Documentation Contact



Post Reply 
Galaxy S4 Build Problem
Author Message
ronghester Offline
Member

Post: #1
Galaxy S4 Build Problem
Hi,

I was trying to run the tutorial sample on my galaxy s4, and got following errors.

---------Device Log ----------------
Time(21:23:16), App(Esenthel): Error accessing ShaderTech "BloomDSCH" in Shader "Main".
Time(21:23:16), App(Esenthel): Pixel Shader compilation failed:
Time(21:23:16), App(Esenthel): Compile failed.
Time(21:23:16), App(Esenthel): ERROR: 0:83: 'IO_tex1' : undeclared identifer
Time(21:23:16), App(Esenthel): ERROR: 0:83: 'clamp' : no matching overloaded function found
Time(21:23:16), App(Esenthel): ERROR: 0:83: 'IO_tex1' : undeclared identifer
Time(21:23:16), App(Esenthel): ERROR: 0:83: ':' : wrong operand types no operation ':' exists that takes a left-hand operand of type 'no-symbol-id' and a right operand of type 'float' (or there is no acceptable conversion)
Time(21:23:16), App(Esenthel): ERROR: 0:83: 'texture2D' : no matching overloaded function found
Time(21:23:16), App(Esenthel): ERROR: 0:83: 'rgb' : field selection requires structure, vector, or matrix on left hand side
Time(21:23:16), App(Esenthel): ERROR: 0:84: 'IO_tex2' : undeclared identifer
Time(21:23:16), App(Esenthel): ERROR: 0:84: 'clamp' : no matching overloaded function found
Time(21:23:16), App(Esenthel): ERROR: 0:84: 'IO_tex2' : undeclared identifer
Time(21:23:16), App(Esenthel): ERROR: 0:84: ':' : wrong operand types no operation ':' exists that takes a left-hand operand of type 'no-symbol-id' and a right operand of type 'float' (or there is no acceptable conversion)
Time(21:23:16), App(Esenthel): ERROR: 0:84: 'texture2D' : no matching overloaded function found
Time(21:23:16), App(Esenthel): ERROR: 0:84: 'rgb' : field selection requires structure, vector, or matrix on left hand side
Time(21:23:16), App(Esenthel): ERROR: 0:85: 'IO_tex3' : undeclared identifer
Time(21:23:16), App(Esenthel): ERROR: 0:85: 'clamp' : no matching overloaded function found
Time(21:23:16), App(Esenthel): ERROR: 0:85: 'IO_tex3' : undeclared identifer
Time(21:23:16), App(Esenthel): ERROR: 0:85: ':' : wrong operand types no operation ':' exists that takes a left-hand operand of type 'no-symbol-id' and a right operand of type 'float' (or there is no acceptable conversion)
Time(21:23:16), App(Esenthel): ERROR: 0:85: 'texture2D' : no matching overloaded function found
Time(21:23:16), App(Esenthel): ERROR: 0:85: 'rgb' : field selection requires structure, vector, or matrix on left hand side
Time(21:23:16), App(Esenthel): ERROR: 0:85: ')' : syntax error;
Time(21:23:16), App(Esenthel): ERROR: 19 compilation errors. No code generated.
Time(21:23:16), App(Esenthel): WARNING: 0:5: Extension GL_ARB_shader_texture_lod not supported
Time(21:23:16), App(Esenthel): WARNING: 1 compilation warnings.


The operating system on the S4 is "Jelly Bin 4.3". What could be wrong?
09-06-2013 05:28 PM
Find all posts by this user Quote this message in a reply
ronghester Offline
Member

Post: #2
RE: Galaxy S4 Build Problem
Just to confirm the same application worked fine on samsung tab 3. The samsung galaxy 4 phone is having almost similar configuration to the tab 3. Not sure why it did not worked.

I can imagine how difficult it is support all sort of Android devices, I suggest you to have a separate license fee for mobile sdk.
09-08-2013 08:54 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Galaxy S4 Build Problem
Hi, next version will include the shader code in the error, so it will be easier to analyze why your device's shader compiler fails to load that shader.
Please once the next version is released try it, and include the error log again.
Thank you!
09-12-2013 10:26 AM
Find all posts by this user Quote this message in a reply
ronghester Offline
Member

Post: #4
RE: Galaxy S4 Build Problem
Okay, I will. Is there any way to tell the engine to not load that particular shader?
09-19-2013 11:47 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Galaxy S4 Build Problem
Hi, no, it's not possible.
09-22-2013 04:59 AM
Find all posts by this user Quote this message in a reply
Post Reply