summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-11-25 15:58:54 +0000
committerazhirnov <zh1dron@gmail.com>2020-11-25 15:58:54 +0000
commit05d6e525008853f21af92c29d5d943a7ebda8e27 (patch)
tree8c37e704b4f14d9d2edf7cda61dd0493b36bf2d4 /Graphics/GraphicsEngineD3D12
parentRemoved SWAP_CHAIN_USAGE_UNORDERED_ACCESS, fixed shader group checks (diff)
parentUpdated volk submodule (diff)
downloadDiligentCore-05d6e525008853f21af92c29d5d943a7ebda8e27.tar.gz
DiligentCore-05d6e525008853f21af92c29d5d943a7ebda8e27.zip
Merge branch 'master' into ray_tracing_2
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/CMakeLists.txt b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
index 611bcbda..a4f0c4c9 100644
--- a/Graphics/GraphicsEngineD3D12/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
@@ -188,7 +188,7 @@ PUBLIC
)
target_compile_definitions(Diligent-GraphicsEngineD3D12-shared PUBLIC ENGINE_DLL=1)
-if(${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION} STRGREATER_EQUAL "10.0.19041.0")
+if("${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}" VERSION_GREATER_EQUAL "10.0.19041.0")
set(D3D12_H_HAS_MESH_SHADER ON CACHE INTERNAL "D3D12 headers support mesh shaders" FORCE)
target_compile_definitions(Diligent-GraphicsEngineD3D12-static PRIVATE D3D12_H_HAS_MESH_SHADER=1)
endif()