1. 29 Sep, 2012 3 commits
  2. 26 Sep, 2012 2 commits
    • Brian Paul's avatar
      s3tc-errors: test GL error checking with s3tc textures · 8a9deb3a
      Brian Paul authored
      Check for expected OpenGL errors related to texture compression.  For
      example, glCompresedTexSubImage2D() offset/size values must be multiples
      of four.
      
      This test could be expanded to cover other compression formats in the future.
      
      Also, this test contains some texture compression helper functions that could
      be made into piglit utility functions.
      
      Verified with NVIDIA's driver.  One error found in Mesa, to be fixed soon.
      8a9deb3a
    • Brian Paul's avatar
      piglit: add piglit_rgbw_image() helper · 7c8fe337
      Brian Paul authored
      Create an image buffer with red, green, blue, white quadrants.
      This code was extracted out of the piglit_rgbw_texture() function.
      The piglit_rgbw_texture() function is then rewritten to use the new
      piglit_rgbw_image() function.
      7c8fe337
  3. 24 Sep, 2012 3 commits
  4. 23 Sep, 2012 1 commit
    • Dave Airlie's avatar
      arb_texture_cube_map_array: add a bunch of compiler tests for new functions · 16358d4e
      Dave Airlie authored
      This was originally generated by a script until I realised the script
      was actually nearly just the contents of the files (there really is
      that little overlap), so drop the script and just push the files.
      
      This should test (non-textureSize ones)
      
            gvec4 texture(gsamplerCubeArray sampler, vec4 coord
                          [, float bias])
            gvec4 textureLod(gsamplerCubeArray sampler, vec4 coord, float lod)
            float texture(samplerCubeArrayShadow sampler, vec4 coord, float compare)
            gvec4 textureGrad(gsamplerCubeArray sampler, vec4 coord,
                              vec3 ddx, vec3 ddy);
      
      work at the compiler level.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      16358d4e
  5. 22 Sep, 2012 9 commits
  6. 20 Sep, 2012 4 commits
  7. 19 Sep, 2012 3 commits
  8. 18 Sep, 2012 2 commits
  9. 17 Sep, 2012 1 commit
  10. 14 Sep, 2012 3 commits
  11. 12 Sep, 2012 3 commits
    • Marek Olšák's avatar
      b5e2e6ea
    • Marek Olšák's avatar
      glean/depthStencil: fix the test · 85a65442
      Marek Olšák authored
      It wasn't doing anything.
      Tested-by: Andreas Boll's avatarAndreas Boll <andreas.boll.dev@gmail.com>
      85a65442
    • Marek Olšák's avatar
      glean/texCombine: test fewer combinations · 2639795f
      Marek Olšák authored
      It takes 10 minutes for llvmpipe to finish this test. With this patch,
      it takes 20 seconds.
      
      Before:
      
      Tested 104 GL_REPLACE combinations
      Tested 7540 GL_ADD combinations
      Tested 7540 GL_ADD_SIGNED_EXT combinations
      Tested 7540 GL_MODULATE combinations
      Tested 5957 GL_INTERPOLATE_EXT combinations
      Tested 7540 GL_DOT3_RGB_EXT combinations
      Tested 7540 GL_DOT3_RGBA_EXT combinations
      Tested 47662 GL_MODULATE_ADD_ATI combinations
      Tested 47662 GL_MODULATE_SIGNED_ADD_ATI combinations
      Tested 47662 GL_MODULATE_SUBTRACT_ATI combinations
      Tested 218 multitexture combinations
      Tested 8 crossbar combinations
      
      After:
      
      Tested 17 GL_REPLACE combinations
      Tested 1237 GL_ADD combinations
      Tested 1237 GL_ADD_SIGNED_EXT combinations
      Tested 1237 GL_MODULATE combinations
      Tested 978 GL_INTERPOLATE_EXT combinations
      Tested 1237 GL_DOT3_RGB_EXT combinations
      Tested 1237 GL_DOT3_RGBA_EXT combinations
      Tested 7825 GL_MODULATE_ADD_ATI combinations
      Tested 7825 GL_MODULATE_SIGNED_ADD_ATI combinations
      Tested 7825 GL_MODULATE_SUBTRACT_ATI combinations
      Tested 35 multitexture combinations
      Tested 8 crossbar combinations
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
      Tested-by: Andreas Boll's avatarAndreas Boll <andreas.boll.dev@gmail.com>
      
      before with r600g:
      
      real    0m24.506s
      user    0m22.393s
      sys     0m1.812s
      
      after with r600g
      
      real    0m0.747s
      user    0m0.616s
      sys     0m0.100s
      
      before with llvmpipe
      
      real    4m28.217s
      user    4m27.061s
      sys     0m1.020s
      
      after with llvmpipe
      
      real    0m7.358s
      user    0m7.224s
      sys     0m0.112s
      2639795f
  12. 11 Sep, 2012 5 commits
  13. 10 Sep, 2012 1 commit