https://bugs.freedesktop.org/show_bug.cgi?id=93308

            Bug ID: 93308
           Summary: Primitive restart tests enforce pre-October 2014 spec
                    behavior
           Product: piglit
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tests
          Assignee: piglit@lists.freedesktop.org
          Reporter: i...@freedesktop.org
        QA Contact: piglit@lists.freedesktop.org

In versions of the desktop OpenGL spec prior to glspec45.core.20141030.pdf,
section 10.3.6 (Primitive Restart) said:

    "When one of the Draw* commands transfers..."

Starting with the 20141030 version, it says:

    "When one of the DrawElements* commands transfers...."

This was a fix for Khronos bug #12893, and it was intended to be a retroactive
change.

tests/general/primitive-restart.c checks that glDrawArrays respects primitive
restart.  This should be changed to check that glDrawArrays igores primitive
restart.

tests/spec/gl-3.1/primitive-restart-xfb.c also needs some sort of updates.  At
the very least the test should document which behavior it expects.  The only
comment in the whole test is, "Test if primitive restart works with
glDrawArraysIndirect."


tests/spec/arb_es3_compatibility/es3-drawarrays-primrestart-fixedindex.c needs
the same verification.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to