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

Change-Id: Ie2aead3b94d97917bdc0a57125e80dcfd1a60f28


[ROCm/hip-tests commit: 78c5e6e502]
This commit is contained in:
Ioannis Assiouras committed 2025-01-15 18:57:28 -05:00
1 والد 9e724e935d
کامیت 8f2a9a4f89
2 files changed
+2

No files matched your search

@@ -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;