Skip to content

Commit 8e1f701

Browse files
AnastaZIukdeprilula28
authored andcommitted
find out that DXC team decided to turn off Debug Iterators by default hence enabling HLSL_ENABLE_DEBUG_ITERATORS is mandatory in our case
1 parent 2a5f5a3 commit 8e1f701

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

3rdparty/dxc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ set(SPIRV_HEADERS_SKIP_EXAMPLES ON CACHE INTERNAL "Skip SPIRV-Headers examples")
3535
set(SKIP_SPIRV_TOOLS_INSTALL ON CACHE INTERNAL "Skip SPIRV-Tools install")
3636
set(SPIRV_SKIP_TESTS ON CACHE INTERNAL "Skip SPIRV-Tools tests")
3737
set(SPIRV_SKIP_EXECUTABLES ON CACHE INTERNAL "Skip SPIRV-Tools executable build")
38+
set(HLSL_ENABLE_DEBUG_ITERATORS ON CACHE BOOL "Enable Debug iterators" FORCE)
3839

3940
set(CMAKE_CXX_STANDARD 11)
4041
if(NBL_DYNAMIC_MSVC_RUNTIME)

0 commit comments

Comments
 (0)