mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
Fix image type on format check for test_readimage. (#1566)
Signed-off-by: John Kesapides <john.kesapides@arm.com> Signed-off-by: John Kesapides <john.kesapides@arm.com>
This commit is contained in:
@@ -346,7 +346,7 @@ int test_readimage3d(cl_device_id device, cl_context context,
|
|||||||
int err = test_readimage<CL_MEM_OBJECT_IMAGE3D, cl_uchar>(
|
int err = test_readimage<CL_MEM_OBJECT_IMAGE3D, cl_uchar>(
|
||||||
device, context, queue, &format[0]);
|
device, context, queue, &format[0]);
|
||||||
|
|
||||||
if (check_format(device, context, CL_MEM_OBJECT_IMAGE2D, format[1]))
|
if (check_format(device, context, CL_MEM_OBJECT_IMAGE3D, format[1]))
|
||||||
{
|
{
|
||||||
err |= test_readimage<CL_MEM_OBJECT_IMAGE3D, cl_uchar>(
|
err |= test_readimage<CL_MEM_OBJECT_IMAGE3D, cl_uchar>(
|
||||||
device, context, queue, &format[1]);
|
device, context, queue, &format[1]);
|
||||||
|
|||||||
Reference in New Issue
Block a user