Summary: | glDrawArrays does not take the "first" argument into account | ||
---|---|---|---|
Product: | Mesa | Reporter: | Laurent Renard <laurent.renard> |
Component: | Drivers/Gallium/swr | Assignee: | mesa-dev |
Status: | RESOLVED INVALID | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | laurent.renard |
Version: | 17.2 | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Laurent Renard
2017-10-18 08:57:10 UTC
I have tested with modified version of the tutorial found here : http://www.opengl-tutorial.org/beginners-tutorials/tutorial-5-a-textured-cube/ Modifying the command // Draw the triangle ! glDrawArrays(GL_TRIANGLES, 0, 12*3); // 12*3 indices starting at 0 -> 12 triangles By : // Draw the triangle ! for (int c = 0 ; c < 12 ; c ++){ glDrawArrays(GL_TRIANGLES, c * 3, 3); // 12*3 indices starting at 0 -> 12 triangles } does not show the issue. I will try to go deeper and see where the issue is. (My code, JOGL or OpenSWR) Hello Laurent. I will be happy to take a look at this with you. It does seem like a bug in the SWR code. Hello Laurent, Have you had any success a with testcase that illustrates the failure you are seeing? No followup from submitter. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.