mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Initialize all variables used in test that fails sporadically
Change-Id: Ifd59c4111390a7855a45ae956a5b4ce3015f2401
This commit is contained in:

committed by
sys_ocldev

parent
cae66f7781
commit
936f42c21a
@ -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;
|
||||
|
Reference in New Issue
Block a user