From deeb8647012fc6362f1bb33842cf0842e16f13b7 Mon Sep 17 00:00:00 2001 From: Robert Stepinski Date: Fri, 11 Oct 2019 11:30:32 -0400 Subject: Add ability to obfuscate name when generating GLSL/HLSL source (#1075) --- slang.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'slang.h') diff --git a/slang.h b/slang.h index e31689200..00957227a 100644 --- a/slang.h +++ b/slang.h @@ -560,6 +560,9 @@ extern "C" /* Skip code generation step, just check the code and generate layout */ SLANG_COMPILE_FLAG_NO_CODEGEN = 1 << 4, + /* Obfuscate shader names on release products */ + SLANG_COMPILE_FLAG_OBFUSCATE = 1 << 5, + /* Deprecated flags: kept around to allow existing applications to compile. Note that the relevant features will still be left in their default state. */ -- cgit v1.2.3