From 7c7fbd572874bdbb3e6f965da3abb918013e1ac8 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 11 Mar 2024 14:52:16 -0700 Subject: Add `-fvk-use-dx-position-w` and fix ExecutionMode ordering for geometry shaders. (#3731) * Add `-fvk-use-dx-position-w`. * Fix ordering of OutputVertices and output primitive type decoration in spirv. * Fix. * fix * Fix. * Move test around. --- source/slang/slang-compiler-options.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-compiler-options.cpp') diff --git a/source/slang/slang-compiler-options.cpp b/source/slang/slang-compiler-options.cpp index 100a5719f..974fbaaaa 100644 --- a/source/slang/slang-compiler-options.cpp +++ b/source/slang/slang-compiler-options.cpp @@ -113,6 +113,7 @@ namespace Slang case CompilerOptionName::MatrixLayoutRow: case CompilerOptionName::MatrixLayoutColumn: case CompilerOptionName::VulkanInvertY: + case CompilerOptionName::VulkanUseDxPositionW: case CompilerOptionName::VulkanUseEntryPointName: case CompilerOptionName::VulkanUseGLLayout: case CompilerOptionName::VulkanEmitReflection: -- cgit v1.2.3