Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

Line Strip on Amlogic S905x

Hi,

I have encountered a weird drawing artifact on Amlogic S905x. I am drawing a line strip (GL_LINE_STRIP) with the following point coordinates (x, y):

-0.5,  0.0
 0.0,  0.5
 0.5,  0.0
 0.0, -0.5
-0.50.0

The issue is the lines do not converge at the same pixel. Is it a known issue?
Here is the screenshot:
line strip
- Greg
  • Hi Greg, 

    We've definitely had bug reports related to line rendering rasterization precision on the Mali-400 series products in the past, so I suspect this will be a known issue. There have been many improvements to this part of the GPU in more recent Mali hardware designs.

    In terms of a workaround, triangle rasterization is much more reliable so the recommended approach to avoid this is to covert each line segment into two triangles.

    Kind regards, 
    Pete