tests: Fix uninitialized pDataSize for GetImageSubres and GetObjectInfo
diff --git a/tests/compiler_render_tests.cpp b/tests/compiler_render_tests.cpp
index fc74aeb..1a36e0f 100644
--- a/tests/compiler_render_tests.cpp
+++ b/tests/compiler_render_tests.cpp
@@ -322,7 +322,7 @@
             view.minLod = 0.0f;
 
         XGL_MEMORY_REQUIREMENTS mem_reqs;
-        XGL_SIZE mem_reqs_size;
+        XGL_SIZE mem_reqs_size= sizeof(XGL_MEMORY_REQUIREMENTS);
 
         /* create image */
         err = xglCreateImage(device(), &image, &m_texture[textureSlot]);
@@ -360,7 +360,7 @@
             .arraySlice = 0,
         };
         XGL_SUBRESOURCE_LAYOUT layout;
-        XGL_SIZE layout_size;
+        XGL_SIZE layout_size = sizeof(layout);
         XGL_VOID *data;
         XGL_INT x, y;