SWDEV-465159 - Only compile mipmap tests on Windows
Mipmap APIs are not supported on Linux
Change-Id: I1aedfbd61c282cc0b93edfab1fab75ef6357a136
[ROCm/hip-tests commit: bcd3665ea9]
This commit is contained in:
committed by
Branislav Brzak
parent
48fa72f9f4
commit
402fffac2b
@@ -44,13 +44,6 @@ set(TEST_SRC
|
|||||||
hipTextureObj2DCheckSRGBModes.cc
|
hipTextureObj2DCheckSRGBModes.cc
|
||||||
hipTexObjectTests.cc
|
hipTexObjectTests.cc
|
||||||
hipTextureObjectTests.cc
|
hipTextureObjectTests.cc
|
||||||
hipBindTextureToMipmappedArray.cc
|
|
||||||
hipMallocMipmappedArray.cc
|
|
||||||
hipFreeMipmappedArray.cc
|
|
||||||
hipGetMipmappedArrayLevel.cc
|
|
||||||
hipMipmappedArrayCreate.cc
|
|
||||||
hipMipmappedArrayDestroy.cc
|
|
||||||
hipMipmappedArrayGetLevel.cc
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# tests not for gfx90a+
|
# tests not for gfx90a+
|
||||||
@@ -114,9 +107,17 @@ else()
|
|||||||
set(TEST_SRC ${TEST_SRC} ${NOT_FOR_gfx90a_AND_ABOVE_TEST})
|
set(TEST_SRC ${TEST_SRC} ${NOT_FOR_gfx90a_AND_ABOVE_TEST})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Mipmap APIs are not supported on Linux
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(TEST_SRC
|
set(TEST_SRC
|
||||||
${TEST_SRC}
|
${TEST_SRC}
|
||||||
|
hipBindTextureToMipmappedArray.cc
|
||||||
|
hipMallocMipmappedArray.cc
|
||||||
|
hipFreeMipmappedArray.cc
|
||||||
|
hipGetMipmappedArrayLevel.cc
|
||||||
|
hipMipmappedArrayCreate.cc
|
||||||
|
hipMipmappedArrayDestroy.cc
|
||||||
|
hipMipmappedArrayGetLevel.cc
|
||||||
hipTextureMipmapObj1D.cc
|
hipTextureMipmapObj1D.cc
|
||||||
hipTextureMipmapObj2D.cc
|
hipTextureMipmapObj2D.cc
|
||||||
hipTextureMipmapObj3D.cc
|
hipTextureMipmapObj3D.cc
|
||||||
|
|||||||
Reference in New Issue
Block a user