Skip to content

Commit 9cd8b42

Browse files
hzqstTheMostDiligent
authored andcommitted
Add ConvertUBOToPushConstantsTestVk (#746)
1 parent 2575022 commit 9cd8b42

File tree

2 files changed

+879
-0
lines changed

2 files changed

+879
-0
lines changed

Tests/DiligentCoreAPITest/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ if(VULKAN_SUPPORTED)
5656
list(APPEND SOURCE ${VK_SOURCE})
5757
endif()
5858

59+
if(NOT VULKAN_SUPPORTED OR NOT ${DILIGENT_USE_SPIRV_TOOLCHAIN} OR ${DILIGENT_NO_GLSLANG})
60+
list(REMOVE_ITEM SOURCE
61+
${CMAKE_CURRENT_SOURCE_DIR}/src/Vulkan/ConvertUBOToPushConstantsTestVk.cpp
62+
)
63+
endif()
64+
5965
if(METAL_SUPPORTED)
6066
file(GLOB MTL_SOURCE LIST_DIRECTORIES false src/Metal/*)
6167
file(GLOB MTL_INCLUDE LIST_DIRECTORIES false include/Metal/*)

0 commit comments

Comments
 (0)