Fix some more formatting for RW-image checks

Remove unnecessary spaces at various places.
Also, fix lengthy lines.
This commit is contained in:
Nikhil Joshi
2020-09-17 18:51:53 +05:30
parent 0038a98f64
commit a262863053
8 changed files with 17 additions and 16 deletions

View File

@@ -177,9 +177,10 @@ static int doTest( cl_device_id device, cl_context context, cl_command_queue que
}
}
if ((testTypesToRun & kReadWriteTests) && checkForReadWriteImageSupport(device))
if ((testTypesToRun & kReadWriteTests)
&& checkForReadWriteImageSupport(device))
{
return TEST_SKIPPED_ITSELF;
return TEST_SKIPPED_ITSELF;
}
if( ( testTypesToRun & kReadWriteTests ) && !gTestMipmaps )

View File

@@ -203,7 +203,7 @@ int test_read_image_set_2D( cl_device_id device, cl_context context, cl_command_
if (gTestReadWrite && checkForReadWriteImageSupport(device))
{
return TEST_SKIPPED_ITSELF;
return TEST_SKIPPED_ITSELF;
}
imageInfo.format = format;

View File

@@ -111,7 +111,7 @@ int test_image_set( cl_device_id device, cl_context context, cl_command_queue qu
if (gTestReadWrite && checkForReadWriteImageSupport(device))
{
return TEST_SKIPPED_ITSELF;
return TEST_SKIPPED_ITSELF;
}
// This flag is only for querying the list of supported formats

View File

@@ -198,7 +198,7 @@ int test_read_image_set_1D( cl_device_id device, cl_context context, cl_command_
if (gTestReadWrite && checkForReadWriteImageSupport(device))
{
return TEST_SKIPPED_ITSELF;
return TEST_SKIPPED_ITSELF;
}
// Get our operating params

View File

@@ -200,7 +200,7 @@ int test_read_image_set_1D_array( cl_device_id device, cl_context context, cl_co
if (gTestReadWrite && checkForReadWriteImageSupport(device))
{
return TEST_SKIPPED_ITSELF;
return TEST_SKIPPED_ITSELF;
}
imageInfo.format = format;

View File

@@ -178,7 +178,7 @@ int test_read_image_set_2D_array( cl_device_id device, cl_context context, cl_co
if (gTestReadWrite && checkForReadWriteImageSupport(device))
{
return TEST_SKIPPED_ITSELF;
return TEST_SKIPPED_ITSELF;
}
clProgramWrapper program;

View File

@@ -181,7 +181,7 @@ int test_read_image_set_3D( cl_device_id device, cl_context context, cl_command_
if (gTestReadWrite && checkForReadWriteImageSupport(device))
{
return TEST_SKIPPED_ITSELF;
return TEST_SKIPPED_ITSELF;
}
clProgramWrapper program;