diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2024-05-08 12:25:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-08 12:25:11 -0700 |
| commit | 708345d16a877ac164171439cf9b4ea825b78d23 (patch) | |
| tree | cb55913f8a45db4cdfd0aa1d5d6f8d4698f14696 /docs/command-line-slangc-reference.md | |
| parent | 6d917a02bb307300ac14c8b028c47fcdcc07100b (diff) | |
Fix crash in obfuscation (#4134)
Slang crashes during obfuscation because of referencing the nullptr
pointer. Add the checking.
In addition, above situation happens when user provide an empty slang
shader with '-obfuscate' option, we shouldn't do anything in that case.
So add an early return in obfuscateModuleLocs if no IR code is actually
generated.
Diffstat (limited to 'docs/command-line-slangc-reference.md')
0 files changed, 0 insertions, 0 deletions
