fail running the 3rd loop test on Android 3.1 tablet

Asked by maceo on 2011-09-27

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

Language:
English Edit question
Status:
Solved
For:
glmark2 Edit question
Assignee:
No assignee Edit question
Solved by:
Alexandros Frantzis
Solved:
2011-09-28
Last query:
2011-09-28
Last reply:
2011-09-27

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.

maceo (maceo1975) said : #2

thanks for the answer....