diff --git a/test_conformance/gl/test_images_getinfo_common.cpp b/test_conformance/gl/test_images_getinfo_common.cpp index 836eb067..1d1b0542 100644 --- a/test_conformance/gl/test_images_getinfo_common.cpp +++ b/test_conformance/gl/test_images_getinfo_common.cpp @@ -23,7 +23,6 @@ #include #endif -extern int supportsHalf(cl_context context, bool *supports_half); static int test_image_info(cl_context context, cl_command_queue queue, GLenum glTarget, GLuint glTexture, size_t imageWidth, @@ -97,10 +96,6 @@ static int test_image_format_get_info(cl_context context, if (fmt->type == kHalf) { if (DetectFloatToHalfRoundingMode(queue)) return 0; - bool supports_half = false; - error = supportsHalf(context, &supports_half); - if (error != 0) return error; - if (!supports_half) return 0; } size_t w = width, h = height, d = depth; diff --git a/test_conformance/gl/test_images_read_common.cpp b/test_conformance/gl/test_images_read_common.cpp index d12936e8..3b76745a 100644 --- a/test_conformance/gl/test_images_read_common.cpp +++ b/test_conformance/gl/test_images_read_common.cpp @@ -23,7 +23,6 @@ #include #endif -extern int supportsHalf(cl_context context, bool *supports_half); extern int supportsMsaa(cl_context context, bool *supports_msaa); extern int supportsDepth(cl_context context, bool *supports_depth); @@ -441,10 +440,6 @@ static int test_image_format_read(cl_context context, cl_command_queue queue, if (fmt->type == kHalf) { if (DetectFloatToHalfRoundingMode(queue)) return 1; - bool supports_half = false; - error = supportsHalf(context, &supports_half); - if (error != 0) return error; - if (!supports_half) return 0; } #ifdef GL_VERSION_3_2 if (get_base_gl_target(target) == GL_TEXTURE_2D_MULTISAMPLE diff --git a/test_conformance/gl/test_renderbuffer.cpp b/test_conformance/gl/test_renderbuffer.cpp index 1b5709d4..25807abe 100644 --- a/test_conformance/gl/test_renderbuffer.cpp +++ b/test_conformance/gl/test_renderbuffer.cpp @@ -63,7 +63,6 @@ extern int test_cl_image_read(cl_context context, cl_command_queue queue, cl_image_format *outFormat, ExplicitType *outType, void **outResultBuffer); -extern int supportsHalf(cl_context context, bool *supports_half); static int test_attach_renderbuffer_read_image( cl_context context, cl_command_queue queue, GLenum glTarget,