figured it out, Mesa/amdgpu really doesn't like the GL_POLYGON primitive type and there's some bugs with its implementation. Some weird flickering going on with the wireframe here while I was optimizing primitives, but the basic solution is to just use triangle fans instead when it matters.
figured it out, Mesa/amdgpu really doesn't like the GL_POLYGON primitive type and there's some bugs with its implementation. Some weird flickering going on with the wireframe here while I was optimizing primitives, but the basic solution is to just use triangle fans instead when it matters.
0 vue
Publié le 02/12/2026 00:39
0:07
figured it out, Mesa/amdgpu really doesn't like the GL_POLYGON primitive type and there's some bugs with its implementation. Some weird flickering going on with the wireframe here while I was optimizing primitives, but the basic solution is to just use triangle fans instead when it matters.
1 commentaire
?
the real solution is to use VBOs and indexed triangles but I haven't gotten to messing with those yet