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:
@@ -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;
|
||||
|
||||
Referens i nytt ärende
Block a user