fail running the 3rd loop test on Android 3.1 tablet

Asked by maceo

hi there
I'd run glmark2 benchmark on my Android 3.1 tablet.
I've got an error when it ran to the last testing item, it tells me that "profile does not support "for" statements and "for" could not be unrolled"!!(attached below) , and terminated without a score @@...
I haven't met this kind of error when I ran the glmark2 on my another linux tablet before, it all passed and have a score.
any clue for how to fix it?

E/glmark2 ( 867): Failed to add fragment shader from file None:
E/glmark2 ( 867): (13) : error C5013: profile does not support "for" statements and "for" could not be unrolled.
E/glmark2 ( 867): 19 lines, 1 errors.
E/glmark2 ( 867):
I/glmark2 ( 867): [loop] duration=10.0:fragment-loop=true:fragment-steps=5:fragment-uniform=true:grid-length=5.0:grid-size=32:vertex-loop=true:vertex-steps=5:vertex-uniform=true: FPS: 0

Question information

English Edit question
glmark2 Edit question
No assignee Edit question
Solved by:
Alexandros Frantzis
Last query:
Last reply:
Revision history for this message
Best Alexandros Frantzis (afrantzis) said :

As the error from the shader compiler suggests, the GPU/drivers your tablet is using don't support real (i.e. not unrolled) for loops in the shader code.

You can check if there are updated drivers that add support for this, but if this is actually a GPU (hardware) limitation there isn't much the drivers can do anyway.

Revision history for this message
maceo (maceo1975) said :

thanks for the answer....