1. 08 Mar, 2012 1 commit
  2. 03 Mar, 2012 3 commits
    • Dylan Noblesmith's avatar
      cmake: check for glproto headers · ac16e8c5
      Dylan Noblesmith authored
      And error out when they're not found, rather than failing to
      compile later when GL/glxproto.h can't be found.
    • Dylan Noblesmith's avatar
      tests/glx: fix Xrender detection · 50613560
      Dylan Noblesmith authored
      Use the variables CMake provides so that compilation won't
      break if Xrender is in a different include directory.
      v2: Just don't build the one test that needs it if it's not found.
    • Dylan Noblesmith's avatar
      don't write generated header to the source directory · 2cb512bd
      Dylan Noblesmith authored
      It was impossible to have the source directory read-only.
      Also add the include_directories() directive for tests/util
      in just one place, under tests/, so that all subdirectories
      inherit it. A bunch of CMakeLists.txt files duplicate it,
      so delete those redundant include flags:
      sed -i -e "/^\t\${piglit_SOURCE_DIR}\/tests\/util/ d" \
       `grep piglit_SOURCE_DIR -rl tests/ | grep "CMakeLists\.gl"`
  3. 29 Feb, 2012 7 commits
  4. 28 Feb, 2012 1 commit
  5. 25 Feb, 2012 2 commits
  6. 23 Feb, 2012 1 commit
  7. 21 Feb, 2012 2 commits
  8. 20 Feb, 2012 2 commits
  9. 16 Feb, 2012 1 commit
    • Brian Paul's avatar
      texture_integer-api-teximage: fix / add error checks · 19f34bf1
      Brian Paul authored
      The previous glTexSubImage2D() test could generate either GL_INVALID_ENUM
      or INVALID_OPERATION depending on the order in which glTexSubImage did its
      error checks of this call.
      Replace that call with new calls that can only generate invalid operation
      or invalid enum.
      Plus, add a test for glCopyTexImage2D().
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
  10. 15 Feb, 2012 3 commits
  11. 14 Feb, 2012 1 commit
  12. 13 Feb, 2012 2 commits
    • Paul Berry's avatar
      Modify shader_runner to skip tests with unsigned uniforms when GL<3.0 · 7f92a5af
      Paul Berry authored
      On implementations that support GLSL version 1.30 but not GL version
      3.0 (for example Mesa, when built without floating point texture
      support), it is impossible to test unsigned uniforms, because the
      Uniform*ui{v} functions are not available.  So any shader_runner tests
      that use unsigned uniforms should be skipped.
      Since it's rare for implementations to support GLSL version 1.30 but
      not GL version 3.0, we don't want to require test writers to remember
      to add "GL>=3.0" to the top of their test scripts.  So instead, this
      patch modifies shader_runner to automatically skip any test that uses
      unsigned uniforms if the GL version is less than 3.0.
      Avoids 404 bogus "crash" results in
      spec/glsl-1.30/execution/built-in-functions when testing with a
      version of Mesa that was built without floating point texture support.
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    • Kenneth Graunke's avatar
      framework: Move list of ignored errors to core rather than *.tests. · 9455e5a8
      Kenneth Graunke authored
      all.tests includes a series of regular expressions to discard driver
      chatter that Piglit shouldn't consider a warning.  Unfortunately, it
      got copy and pasted to a few more files.
      Move it back into one place---in core.  While we're at it, use `map' to
      avoid having to write Test.ignoreErrors.append(re.compile(...)) every
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
  13. 11 Feb, 2012 1 commit
  14. 10 Feb, 2012 2 commits
  15. 09 Feb, 2012 3 commits
  16. 08 Feb, 2012 8 commits