From fa8c11ebe8f9b1bf2174a5a4dbe92a34c16811c8 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 12 Jun 2024 09:27:14 -0700 Subject: Add option to preserve shader parameter declaration in output SPIRV. (#4344) * Add option to preserve shader parameter declarations in output. * Add test. --- slang.h | 1 + 1 file changed, 1 insertion(+) (limited to 'slang.h') diff --git a/slang.h b/slang.h index ce659b007..d807efec4 100644 --- a/slang.h +++ b/slang.h @@ -865,6 +865,7 @@ extern "C" MinimumSlangOptimization, // bool DisableNonEssentialValidations, // bool DisableSourceMap, // bool + PreserveParameters, // bool: preserve all resource parameters in the output code. // Target -- cgit v1.2.3