From 858c7c57b125afed9b5b2329d6b02477284e4803 Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 17 Aug 2021 09:39:02 -0700 Subject: Add GLSL450 intrinsics to SPIRV direct emit. (#1921) * Add GLSL450 intrinsics to SPIRV direct emit. * Fix. * Fix compiler error. * Fix. * Fix compiler error. * Make direct-spirv tests actually run. --- tools/render-test/options.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/render-test/options.cpp') diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp index 5d3560351..a4a643e22 100644 --- a/tools/render-test/options.cpp +++ b/tools/render-test/options.cpp @@ -141,6 +141,10 @@ static gfx::DeviceType _toRenderType(Slang::RenderApiType apiType) { outOptions.useDXIL = true; } + else if (argValue == "-emit-spirv-directly") + { + outOptions.generateSPIRVDirectly = true; + } else if (argValue == "-only-startup") { outOptions.onlyStartup = true; -- cgit v1.2.3