From c3058653add8f8a9d147de652a94c178a6973ac6 Mon Sep 17 00:00:00 2001 From: azhirnov Date: Wed, 25 Nov 2020 19:14:57 +0300 Subject: Added RootSignatureBuilder, some fixed for vulkan ray tracing --- Graphics/ShaderTools/src/DXCompiler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Graphics/ShaderTools') diff --git a/Graphics/ShaderTools/src/DXCompiler.cpp b/Graphics/ShaderTools/src/DXCompiler.cpp index 8388ba89..1923521c 100644 --- a/Graphics/ShaderTools/src/DXCompiler.cpp +++ b/Graphics/ShaderTools/src/DXCompiler.cpp @@ -718,6 +718,8 @@ void DXCompilerImpl::Compile(const ShaderCreateInfo& ShaderCI, DxilArgs.push_back(L"-fspv-extension=SPV_NV_ray_tracing"); DxilArgs.push_back(L"-fspv-extension=SPV_GOOGLE_hlsl_functionality1"); DxilArgs.push_back(L"-fspv-extension=SPV_GOOGLE_user_type"); + + // TODO: SPV_NV_ray_tracing is not compatible with new ray tracing extensions, but the latest DXC does not support shaderRecord, so uncomment this line when will it be fixed //DxilArgs.push_back(L"-fspv-target-env=vulkan1.2"); } } -- cgit v1.2.3