summaryrefslogtreecommitdiffstats
path: root/slang.h
diff options
context:
space:
mode:
authorRobert Stepinski <rob.stepinski@gmail.com>2019-10-11 11:30:32 -0400
committerTim Foley <tfoleyNV@users.noreply.github.com>2019-10-11 08:30:32 -0700
commitdeeb8647012fc6362f1bb33842cf0842e16f13b7 (patch)
treee733f025426516ce74e440e232bb444d2d3aa9f5 /slang.h
parent9a09e2ed2c06ac5532488c418badec98ef362ca9 (diff)
Add ability to obfuscate name when generating GLSL/HLSL source (#1075)
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h3
1 files changed, 3 insertions, 0 deletions
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. */