s3tc-errors: test GL error checking with s3tc textures
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.
Showing with 399 additions and 0 deletions