mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
remove check for extension for writeable sRGB images (#449)
This commit is contained in:
committed by
Kévin Petit
parent
e880869559
commit
fb3dca1ac7
@@ -828,19 +828,6 @@ int test_write_image_formats( cl_device_id device, cl_context context, cl_comman
|
|||||||
if( filterFlags[ i ] )
|
if( filterFlags[ i ] )
|
||||||
continue;
|
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++;
|
gTestCount++;
|
||||||
|
|
||||||
print_write_header( &imageFormat, false );
|
print_write_header( &imageFormat, false );
|
||||||
|
|||||||
Reference in New Issue
Block a user