add missing image support checks to a few SPIR-V tests (#2411)

The tests for new image operands should not run on devices that do not
support images.
This commit is contained in:
Ben Ashbaugh
2025-06-11 09:46:31 -07:00
committed by GitHub
parent b79a8a2f42
commit 26f8b3a7e8
2 changed files with 4 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ REGISTER_TEST(spirv16_image_operand_nontemporal)
return TEST_SKIPPED_ITSELF;
}
PASSIVE_REQUIRE_IMAGE_SUPPORT(device);
cl_int error = CL_SUCCESS;
clProgramWrapper prog;