Skip to content

Commit 1357f02

Browse files
committed
added c++ extension to hlsl compiler options
1 parent c14e01f commit 1357f02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nbl/asset/utils/CHLSLCompiler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ core::smart_refctd_ptr<ICPUShader> CHLSLCompiler::compileToSPIRV(const char* cod
381381
L"-fvk-use-scalar-layout",
382382
L"-Wno-c++11-extensions",
383383
L"-Wno-gnu-static-float-init",
384+
L"-Wc++1z-extensions",
384385
L"-fspv-target-env=vulkan1.3"
385386
};
386387

0 commit comments

Comments
 (0)