Skip to content

Commit

Permalink
restored changes from PR KhronosGroup#2078 (SHA 5d4b51b)
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Nov 20, 2024
1 parent ddced7a commit 95f908b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 95f908b

Please sign in to comment.