Initialize all variables used in test that fails sporadically

Change-Id: Ifd59c4111390a7855a45ae956a5b4ce3015f2401
This commit is contained in:
Mateusz Jablonski
2018-04-11 13:02:42 +02:00
committed by sys_ocldev
parent cae66f7781
commit 936f42c21a

View File

@ -914,7 +914,7 @@ TEST(ImageValidatorTest, givenNV12Image2dAsParentImageWhenValidateImageZeroSized
cl_image_desc descriptor;
MockContext context;
void *dummyPtr = reinterpret_cast<void *>(0x17);
SurfaceFormatInfo surfaceFormat;
SurfaceFormatInfo surfaceFormat = {};
image.imageFormat.image_channel_order = CL_NV12_INTEL;
descriptor.image_type = CL_MEM_OBJECT_IMAGE2D;