Skip to content

Commit 32b3e68

Browse files
authored
fix: add missing stype field (#232)
1 parent 8a809dc commit 32b3e68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

conformance_tests/core/test_image/src/test_image.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,9 @@ LZT_TEST_P(zeImageGetAllocPropertiesExtTests,
548548
if (img == nullptr) {
549549
continue;
550550
}
551-
ze_image_allocation_ext_properties_t img_alloc_ext_properties;
551+
ze_image_allocation_ext_properties_t img_alloc_ext_properties = {};
552+
img_alloc_ext_properties.stype =
553+
ZE_STRUCTURE_TYPE_IMAGE_ALLOCATION_EXT_PROPERTIES;
552554
EXPECT_ZE_RESULT_SUCCESS(zeImageGetAllocPropertiesExt(
553555
context, img, &img_alloc_ext_properties));
554556
lzt::destroy_ze_image(img);

0 commit comments

Comments
 (0)