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. --- slang.h | 1 + 1 file changed, 1 insertion(+) (limited to 'slang.h') diff --git a/slang.h b/slang.h index fc242dbf1..28835f713 100644 --- a/slang.h +++ b/slang.h @@ -874,6 +874,7 @@ extern "C" VulkanBindShift, // intValue0 (higher 8 bits): kind; intValue0(lower bits): set; intValue1: shift VulkanBindGlobals, // intValue0: index; intValue1: set VulkanInvertY, // bool + VulkanUseDxPositionW, // bool VulkanUseEntryPointName, // bool VulkanUseGLLayout, // bool VulkanEmitReflection, // bool -- cgit v1.2.3