summaryrefslogtreecommitdiffstats
path: root/Graphics/ShaderTools
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-11-25 16:14:57 +0000
committerazhirnov <zh1dron@gmail.com>2020-11-25 16:35:13 +0000
commitc3058653add8f8a9d147de652a94c178a6973ac6 (patch)
tree1dc04806de7cc862ea406d77d2adba8b3210452f /Graphics/ShaderTools
parentAdded support for VK_KHR_acceleration_structure and VK_KHR_ray_tracing_pipeline (diff)
downloadDiligentCore-c3058653add8f8a9d147de652a94c178a6973ac6.tar.gz
DiligentCore-c3058653add8f8a9d147de652a94c178a6973ac6.zip
Added RootSignatureBuilder, some fixed for vulkan ray tracing
Diffstat (limited to 'Graphics/ShaderTools')
-rw-r--r--Graphics/ShaderTools/src/DXCompiler.cpp2
1 files changed, 2 insertions, 0 deletions
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");
}
}