mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 07:09:03 +00:00
Fix formatting in case of Read-Write image checks.
Fix formatting in case of Read-write image checks. Also, combine two ifs into one in case of kerne_read_write tests
This commit is contained in:
@@ -177,12 +177,9 @@ static int doTest( cl_device_id device, cl_context context, cl_command_queue que
|
||||
}
|
||||
}
|
||||
|
||||
if (testTypesToRun & kReadWriteTests)
|
||||
if ((testTypesToRun & kReadWriteTests) && checkForReadWriteImageSupport(device))
|
||||
{
|
||||
if(checkForReadWriteImageSupport(device))
|
||||
{
|
||||
return TEST_SKIPPED_ITSELF;
|
||||
}
|
||||
return TEST_SKIPPED_ITSELF;
|
||||
}
|
||||
|
||||
if( ( testTypesToRun & kReadWriteTests ) && !gTestMipmaps )
|
||||
|
||||
Reference in New Issue
Block a user