This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mali-400 MP driver bug

Hello.

I am developing a games for android.
There is a device Samsung Galaxy S3 with gpu Mali-400MP, android version 4.3.
I have a problem when rendering buffer in parts. I wrote a test application to demonstrate the problem.


First I created a vertex buffer and fill them with random values. Then created an index buffer with random values, but within the number of vertices.

If draw the entire buffer, then all is well.


     GLES20.glDrawElements(GLES20.GL_TRIANGLES, ICOUNT, GLES20.GL_UNSIGNED_SHORT, 0);


But if I try to draw one triangle, application fail at random iteration.


private int i_offset = 0;

...

GLES20.glDrawElements(GLES20.GL_TRIANGLES, 3, GLES20.GL_UNSIGNED_SHORT, i_offset*2);

i_offset += 3;

if((i_offset + 3) > ICOUNT) i_offset = 0;

What could be the problem? On the other gpu all drawn normally.

5778.zip
Parents Reply Children
No data