About Store Forum Documentation Contact
Donations:
207$/mo



Post Reply 
[FIXED][iOS] Shaders crash.
Author Message
cmontiel Offline
Member

Post: #1
[FIXED][iOS] Shaders crash.
I keep on my intent of using the MMO client example in xcode...

Code:
Error linking vertex+pixel shader in technique "T1121000100000000000" of shader "Forward"
WARNING: Could not find vertex shader attribute 'ATTR14' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR12' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR1' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR5' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR7' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR3' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR10' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR6' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR15' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR13' to match

File "Net Chr.cpp" on method Bool NetChr::decompress(File &f), line mesh=DL.mesh.getStr(f);

Using the latest iOS SDK and engine.pak. I really don't know how shaders works but i didn't add nothing to the code.

IRC: irc.freenode.net
Channel: #Esenthel
(This post was last modified: 04-20-2012 12:50 PM by cmontiel.)
04-05-2012 04:39 PM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #2
RE: [iOS] Shaders crash.
This is being really frustrating...

Also trying to build any project (tutorial included) with simulator, it crashes. Dozens of undefined symbols.

Someone using esenthel with Xcode can help me?

IRC: irc.freenode.net
Channel: #Esenthel
(This post was last modified: 04-07-2012 11:03 AM by cmontiel.)
04-07-2012 11:02 AM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #3
RE: [iOS] Shaders crash.
Ok after days of tests, here is the easy way how reproduce it:

In ios tutorial, simply add this line inside InitPre() function:

Code:
Renderer.type(RT_FORWARD);

You will see the error related to shaders. My team need start to work next week so we are waiting your answer...

IRC: irc.freenode.net
Channel: #Esenthel
04-07-2012 08:51 PM
Find all posts by this user Quote this message in a reply
Mardok Offline
Member

Post: #4
RE: [iOS] Shaders crash.
Plz wait, Esenthel will help you when will be able. Maybe try RT_SIMPLE until Esenthel fix your problem. I also had a problem with shaders but in Android and he helped me in few hours. Maybe he went on Easter to family or is in travel. If he'll be online certainly respond for your post.
04-07-2012 09:35 PM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #5
RE: [iOS] Shaders crash.
RT_SIMPLE give me the error in "Blend" shader using the MMO example.

I know he will respond, but I can't delay this more days.

IRC: irc.freenode.net
Channel: #Esenthel
04-07-2012 10:07 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: [iOS] Shaders crash.
1-2 days ago I've uploaded newest iOS SDK, could you try that version?
if it won't help then I will do some tests manually
(I'm on vacation at the moment, so my replies may be delayed a little, sorry)
04-08-2012 06:45 AM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #7
RE: [iOS] Shaders crash.
I have just downloaded the Esenthel iOS sdk from "Source Code" section of the forum (22:58 pm Spain).

Adding Renderer.type(RT_FORWARD); in the method InitPre(), I get this crash:

Code:
Error linking vertex+pixel shader in technique "T0111000000000000000" of shader "Forward"
WARNING: Could not find vertex shader attribute 'ATTR8' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR14' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR12' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR1' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR5' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR7' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR3' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR11' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR10' to match BindAttributeLocation request.
WARNING: Could not find vertex shader attribute 'ATTR6' to match

IRC: irc.freenode.net
Channel: #Esenthel
(This post was last modified: 04-08-2012 10:08 PM by cmontiel.)
04-08-2012 09:35 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: [iOS] Shaders crash.
Thanks, I'll check this.
04-10-2012 04:14 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
RE: [iOS] Shaders crash.
Hello!

The shaders loaded fine on iOS 4.3 (simple+forward) and 5.0 (simple). But 5.0 iOS opengl drivers failed to load forward shaders.

But the good news is I've discovered what's causing the issue, and with quick hack I managed to make it work.

I'll now make a solid fix for that, and once finished I'll upload newer SDK, if all goes well it should be available in 0-2 days.
04-18-2012 07:07 AM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #10
RE: [iOS] Shaders crash.
Perfect! smile

Just to clarify, on iOS 5.1 shaders fail (simple+forward).

IRC: irc.freenode.net
Channel: #Esenthel
04-18-2012 10:41 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #11
RE: [iOS] Shaders crash.
The newer iOS SDK has just been uploaded, I did test the basic tutorial on simulator 4.3 5.0 iphone ipad simple forward and all worked fine. If you experience any other problems, please let me know.
04-20-2012 07:52 AM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #12
RE: [iOS] Shaders crash.
Fixed! No issues found.

IRC: irc.freenode.net
Channel: #Esenthel
04-20-2012 12:49 PM
Find all posts by this user Quote this message in a reply
Post Reply