1. 03 Apr, 2020 1 commit
  2. 31 Mar, 2020 1 commit
    • Danylo Piliaiev's avatar
      glsl-1.20: new tests for out-of-bounds array access of vectors/matrices · 6adc6643
      Danylo Piliaiev authored
      Triggers crash from mesa/mesa#2604
      and several more.
      
      From section 5.6 "Matrix Components" of the GLSL 1.20 spec:
       "It is an error to access a matrix with a constant expression
        that is outside the bounds of thematrix."
      
      Tests: vs-mat4-out-of-bounds-const-*
      
      From section 5.5 "Vector Components" of the GLSL 1.20 spec:
       "Reading from or writing to a vector using a constant integral expression
        with a value that is negative or greater than or equal to the size of
        the vector is illegal"
      
      Tests: vs-vec4-out-of-bounds-const-*
      
      From section 5.6 "Matrix Components" of the GLSL 1.20 spec:
       "Behavior is undefined when accessing a component outside the bounds
        of a matrix with a non-constant expression."
      
       Even if it is allowed - driver most likely doesn't want to crash or hang.
      
      Tests: fs-mat4-out-of-bounds-*
      
      From section 5.5 "Vector Components" of the GLSL 1.20 spec:
       "When indexing with non-constant expressions, behavior is undefined if the
        index is negative, or greater than or equal to the size of the vector."
      
       Even if it is allowed - driver most likely doesn't want to crash or hang.
      
      Tests: fs-vec4-out-of-bounds-*
      Signed-off-by: Danylo Piliaiev's avatarDanylo Piliaiev <danylo.piliaiev@globallogic.com>
      Reviewed-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
      Tested-by: Marge Bot <mesa/piglit!238>
      Part-of: <mesa/piglit!238>
      6adc6643
  3. 30 Mar, 2020 1 commit
  4. 27 Mar, 2020 1 commit
  5. 26 Mar, 2020 1 commit
  6. 25 Mar, 2020 1 commit
  7. 20 Mar, 2020 1 commit
  8. 16 Mar, 2020 2 commits
  9. 12 Mar, 2020 1 commit
  10. 03 Mar, 2020 1 commit
  11. 26 Feb, 2020 6 commits
  12. 22 Feb, 2020 1 commit
  13. 20 Feb, 2020 5 commits
  14. 19 Feb, 2020 2 commits
  15. 17 Feb, 2020 1 commit
  16. 14 Feb, 2020 3 commits
  17. 13 Feb, 2020 8 commits
  18. 12 Feb, 2020 1 commit
  19. 11 Feb, 2020 2 commits
    • Vinson Lee's avatar
      glx_mesa_query_renderer: Fix error with GCC 10. · 0732041a
      Vinson Lee authored
      This patch fixes these build errors with GCC 10.
      
      /usr/bin/ld: CMakeFiles/glx-query-renderer-coverage.dir/query-renderer-common.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:49: multiple definition of `piglit_glXQueryRendererStringMESA'; CMakeFiles/glx-query-renderer-coverage.dir/coverage.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:49: first defined here
      /usr/bin/ld: CMakeFiles/glx-query-renderer-coverage.dir/query-renderer-common.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:50: multiple definition of `piglit_glXQueryCurrentRendererStringMESA'; CMakeFiles/glx-query-renderer-coverage.dir/coverage.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:50: first defined here
      /usr/bin/ld: CMakeFiles/glx-query-renderer-coverage.dir/query-renderer-common.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:51: multiple definition of `piglit_glXQueryRendererIntegerMESA'; CMakeFiles/glx-query-renderer-coverage.dir/coverage.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:51: first defined here
      /usr/bin/ld: CMakeFiles/glx-query-renderer-coverage.dir/query-renderer-common.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:52: multiple definition of `piglit_glXQueryCurrentRendererIntegerMESA'; CMakeFiles/glx-query-renderer-coverage.dir/coverage.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:52: first defined here
      /usr/bin/ld: CMakeFiles/glx-query-renderer-coverage.dir/query-renderer-common.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:53: multiple definition of `piglit_glXCreateContextAttribsARB'; CMakeFiles/glx-query-renderer-coverage.dir/coverage.c.o:tests/spec/glx_mesa_query_renderer/query-renderer-common.h:53: first defined here
      
      Fixes: f6ed23b5 ("query_renderer: Add some common infrastructure for GLX_MESA_query_renderer tests")
      Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
      0732041a
    • Marek Olšák's avatar
      draw-prim-rate: reorder test execution order · c75fbf65
      Marek Olšák authored
      for easy copying of the results that we are interested in into a spreadsheet
      c75fbf65