mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 00:39: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,13 +177,10 @@ 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 )
|
if( ( testTypesToRun & kReadWriteTests ) && !gTestMipmaps )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user