SWDEV-506983 - Added check for image support in Unit_hipTexRef[Get/Set]BorderColor_Negative

Change-Id: Ie2aead3b94d97917bdc0a57125e80dcfd1a60f28
这个提交包含在:
Ioannis Assiouras
2025-01-08 02:41:18 +00:00
父节点 05b59788c6
当前提交 78c5e6e502
共修改 2 个文件,包含 2 行新增和 0 行删除
@@ -47,6 +47,7 @@ TEST_CASE("Unit_hipTexRefGetBorderColor_Positive") {
#endif
TEST_CASE("Unit_hipTexRefGetBorderColor_Negative") {
CHECK_IMAGE_SUPPORT
float border_color[3] = {0, 0, 0};
hipModule_t module = nullptr;
hipTexRef tex_ref = nullptr;
@@ -47,6 +47,7 @@ TEST_CASE("Unit_hipTexRefSetBorderColor_Positive") {
#endif
TEST_CASE("Unit_hipTexRefSetBorderColor_Negative") {
CHECK_IMAGE_SUPPORT
float border_color[3] = {0, 0, 0};
hipModule_t module = nullptr;
hipTexRef tex_ref = nullptr;