1. 07 Oct, 2012 1 commit
  2. 06 Jul, 2012 1 commit
  3. 28 Jun, 2012 1 commit
  4. 20 Jun, 2012 1 commit
  5. 08 Mar, 2012 1 commit
  6. 20 Jan, 2012 1 commit
    • Paul Berry's avatar
      Make all transform feedback tests concurrent. · beedfe34
      Paul Berry authored
      I had previously been holding off on this because of concurrency bugs
      in the Mesa i965 implementation of transform feedback, but those bugs
      have long since been fixed.
      
      Verified on Mesa i965 (both Sandy Bridge and Ivy Bridge) and the
      nVidia proprietary Linux driver.
      Acked-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      beedfe34
  7. 21 Dec, 2011 1 commit
    • Paul Berry's avatar
      Transform feedback: eliminate test dependency on tessellation order. · dc02bdd9
      Paul Berry authored
      The transform feedback tests interleaved.c and position.c were
      assuming that a GL_QUAD whose vertices are ABCD is tessellated into
      triangle ABD followed by triangle BCD.  This is not a reliable
      assumption--according to the EXT_transform_feedback spec, "the order
      of tessellation within a primitive is undefined".  This was causing
      these tests to fail on the nVidia proprietary Linux driver, which
      tessellates quad ABCD as ABC followed by ACD.
      
      This patch chnges interleaved.c and position.c so that they specify
      triangles explicitly using glDrawElements(GL_TRIANGLES).  The expected
      output is the same, but the test behavior no longer depends on how the
      driver tessellates quads.
      
      Fixes bogus failures on nVidia:
      - interleaved-attribs
      - position-readback-bufferbase
      - position-readback-bufferbase-discard
      - position-readback-bufferrange
      - position-readback-bufferrange-discard
      - position-render-bufferrange
      - position-render-bufferrange-discard
      Acked-by: Marek Olšák's avatarMarek Olšák <maraeo@gmail.com>
      dc02bdd9
  8. 08 Nov, 2011 1 commit
    • Paul Berry's avatar
      Modify EXT_transform_feedback tests to test GL 3.0 core. · 9016314b
      Paul Berry authored
      Nearly all of the functionality of the EXT_transform_feedback
      extension is available in core OpenGL as of version 3.0 (only one
      function was not promoted to OpenGL 3.0, the BindBufferOffsetEXT
      function).  Therefore, it's possible for an implementation to support
      transform feedback via core OpenGL 3.0 features, without advertising
      support for the EXT_transform_feedback extension.  One such
      implementation, surprisingly, is the nVidia proprietary Linux driver I
      use as my reference platform.
      
      To allow the transform feedback tests to run on these implementations,
      I've created a function piglit_require_transform_feedback(), and the
      following function pointers:
      
      - piglit_BeginTransformFeedback
      - piglit_BindBufferBase
      - piglit_BindBufferRange
      - piglit_EndTransformFeedback
      - piglit_GetBooleani_v
      - piglit_GetIntegeri_v
      - piglit_GetTransformFeedbackVarying
      - piglit_TransformFeedbackVaryings
      
      piglit_require_transform_feedback() checks whether transform feedback
      is provided via EXT_transform_feedback or via core GL 3.0, and sets up
      the function pointers appropriately.  If transform feedback isn't
      provided through either mechanism, then it causes the test to be
      skipped.
      
      This is similar to what we do with piglit_require_GLSL() (see
      tests/util/piglit-shader-gl.c).
      
      I've updated all of the EXT_transform_feedback tests to use these
      function pointers.  This makes it possible to test transform feedback
      on an implementation that supports GL 3.0 but not
      EXT_transform_feedback.
      Acked-by: Marek Olšák's avatarMarek Olšák <maraeo@gmail.com>
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      9016314b
  9. 24 Oct, 2011 1 commit
  10. 24 Aug, 2011 1 commit