SWDEV-506983 - Added check for image support in Unit_hipTexRef[Get/Set]BorderColor_Negative
Change-Id: Ie2aead3b94d97917bdc0a57125e80dcfd1a60f28
Tá an tiomantas seo le fáil i:
1 tuismitheoir
05b59788c6
tiomantas
78c5e6e502
2 comhad athraithe
+2
Níor tháinig aon chomhaid le do chuardach
@@ -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;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir