diff options
| author | Robert Stepinski <rob.stepinski@gmail.com> | 2019-10-11 11:30:32 -0400 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-10-11 08:30:32 -0700 |
| commit | deeb8647012fc6362f1bb33842cf0842e16f13b7 (patch) | |
| tree | e733f025426516ce74e440e232bb444d2d3aa9f5 /slang.h | |
| parent | 9a09e2ed2c06ac5532488c418badec98ef362ca9 (diff) | |
Add ability to obfuscate name when generating GLSL/HLSL source (#1075)
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. */ |
