Hello All,

i needed a small clarification w.r.t Z fighting. Say for eg i draw two triangles, with their Z coordinates being the same, and they have overlaps. So, some part of one triangle is inside the other triangle. So, my question is:

1) This causes a Z-fighting issue since fragments generated for the overlapping region will have conflicting values of Z.
2) How exactly is this handled by the driver? So, what fragment passes the depth test?

Could anyone please clarify this for me?
Thanks in advance!