commit | 657fb934c870fbaa874804212b2fff1ea1684a1f | [log] [tgz] |
---|---|---|
author | Sebastian Neubauer <sebastian.neubauer@amd.com> | Fri May 08 13:52:18 2020 +0200 |
committer | Yilong Li <liyl@google.com> | Tue Jun 23 17:53:57 2020 -0700 |
tree | 6d83a31e4b2cfcb9fa0b2daa8941a2c5a33d01c1 | |
parent | e157435c1e777aa1052f446dafed162b4a722e03 [diff] |
Explicitly mark some enums as unsigned This allows casting from and to any unsigned value, previously this was undefined behavior. This fixes ubsan complaining in `TParseContext::layoutQualifierCheck`, where `~EShLangComputeMask` is used. Change-Id: I319f643dc061e0cd371ab024bb639dee9cb56ae1