From fb3dca1ac730047529b6dff5779a5b5587dde89c Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Thu, 12 Sep 2019 05:05:11 -0700 Subject: [PATCH] remove check for extension for writeable sRGB images (#449) --- .../images/kernel_read_write/test_write_image.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test_conformance/images/kernel_read_write/test_write_image.cpp b/test_conformance/images/kernel_read_write/test_write_image.cpp index e0cc8a27..ec465ec8 100644 --- a/test_conformance/images/kernel_read_write/test_write_image.cpp +++ b/test_conformance/images/kernel_read_write/test_write_image.cpp @@ -828,19 +828,6 @@ int test_write_image_formats( cl_device_id device, cl_context context, cl_comman if( filterFlags[ i ] ) continue; - if (is_sRGBA_order(imageFormat.image_channel_order)) - { - if( !is_extension_available( device, "cl_khr_srgb_image_writes" )) - { - log_missing_feature( "-----------------------------------------------------\n" ); - log_missing_feature( "WARNING!!! sRGB formats are shown in the supported write-format list.\n"); - log_missing_feature( "However the extension cl_khr_srgb_image_writes is not available.\n"); - log_missing_feature( "Please make sure the extension is officially supported by the device .\n"); - log_missing_feature( "-----------------------------------------------------\n\n" ); - continue; - } - } - gTestCount++; print_write_header( &imageFormat, false );