From 95f908b43b50d003ce406d6db08399cfe6d7e8a8 Mon Sep 17 00:00:00 2001 From: Marcin Hajder Date: Wed, 20 Nov 2024 20:12:31 +0100 Subject: [PATCH] restored changes from PR #2078 (SHA 5d4b51b) --- .../test_vulkan_api_consistency_for_1dimages.cpp | 10 ---------- .../test_vulkan_api_consistency_for_3dimages.cpp | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/test_conformance/vulkan/test_vulkan_api_consistency_for_1dimages.cpp b/test_conformance/vulkan/test_vulkan_api_consistency_for_1dimages.cpp index b8737e000e..799a73f05b 100644 --- a/test_conformance/vulkan/test_vulkan_api_consistency_for_1dimages.cpp +++ b/test_conformance/vulkan/test_vulkan_api_consistency_for_1dimages.cpp @@ -167,16 +167,6 @@ struct ConsistencyExternalImage1DTest : public VulkanTestBase test_error(errNum, "Unable to create Image with Properties"); image.reset(); - // Passing properties, image_desc and image_format all as NULL - image = clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE, - NULL, NULL, NULL, &errNum); - test_failure_error( - errNum, CL_INVALID_IMAGE_DESCRIPTOR, - "Image creation must fail with CL_INVALID_IMAGE_DESCRIPTOR " - "when all are passed as NULL"); - - image.reset(); - // Passing NULL properties and a valid image_format and image_desc image = clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE, &img_format, &image_desc, NULL, diff --git a/test_conformance/vulkan/test_vulkan_api_consistency_for_3dimages.cpp b/test_conformance/vulkan/test_vulkan_api_consistency_for_3dimages.cpp index 3d751c96ef..b30f37477f 100644 --- a/test_conformance/vulkan/test_vulkan_api_consistency_for_3dimages.cpp +++ b/test_conformance/vulkan/test_vulkan_api_consistency_for_3dimages.cpp @@ -170,16 +170,6 @@ struct ConsistencyExternalImage3DTest : public VulkanTestBase test_error(errNum, "Unable to create Image with Properties"); image.reset(); - // Passing properties, image_desc and image_format all as NULL - image = clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE, - NULL, NULL, NULL, &errNum); - test_failure_error( - errNum, CL_INVALID_IMAGE_DESCRIPTOR, - "Image creation must fail with CL_INVALID_IMAGE_DESCRIPTOR " - "when all are passed as NULL"); - - image.reset(); - // Passing NULL properties and a valid image_format and image_desc image = clCreateImageWithProperties(context, NULL, CL_MEM_READ_WRITE, &img_format, &image_desc, NULL,