The generic texture formats are allowed in the <internalformat>
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D,
and CopyTexImage2D functions.

Signed-off-by: Anuj Phogat <[email protected]>
---
 tests/texturing/copyteximage.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/tests/texturing/copyteximage.c b/tests/texturing/copyteximage.c
index a0bf228..c8a8492 100644
--- a/tests/texturing/copyteximage.c
+++ b/tests/texturing/copyteximage.c
@@ -328,14 +328,6 @@ supported_format(GLenum format)
 static bool
 supported_target_format(GLenum target, GLenum format)
 {
-       /* all the compressed formats we test (so far) are 2D only */
-       if (is_compressed_format(format) &&
-           (target == GL_TEXTURE_1D ||
-            target == GL_TEXTURE_1D_ARRAY ||
-            target == GL_TEXTURE_3D ||
-            target == GL_TEXTURE_RECTANGLE)) {
-               return false;
-       }
        if (is_depth_format(format) && target == GL_TEXTURE_3D) {
                return false;
        }
-- 
1.7.7.6

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to