mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
@@ -97,6 +97,7 @@ REGISTER_TEST(spirv14_image_operand_signextend)
|
||||
log_info("SPIR-V 1.4 not supported; skipping tests.\n");
|
||||
return TEST_SKIPPED_ITSELF;
|
||||
}
|
||||
PASSIVE_REQUIRE_IMAGE_SUPPORT(device);
|
||||
return test_image_operand_helper(device, context, queue, true);
|
||||
}
|
||||
|
||||
@@ -107,6 +108,7 @@ REGISTER_TEST(spirv14_image_operand_zeroextend)
|
||||
log_info("SPIR-V 1.4 not supported; skipping tests.\n");
|
||||
return TEST_SKIPPED_ITSELF;
|
||||
}
|
||||
PASSIVE_REQUIRE_IMAGE_SUPPORT(device);
|
||||
return test_image_operand_helper(device, context, queue, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user