diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2024-06-07 09:48:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 09:48:24 -0400 |
| commit | 7c6faf62158eed309f01bbef8a7b88e0c36459c7 (patch) | |
| tree | ae0e87295bad2b45dd80dfac125b37d59bcda588 /examples/example-base | |
| parent | 004fe27a52b7952111ad7e749397aeff499de7ed (diff) | |
Precompute UIntSet from individual capabilities inside generator (#4269)
* fixes: #4163
Precompute UIntSet from individual capabilities inside generator (removes intermediate form of capabilities).
note:
1. I still expand capabilities which are missing `target` and `stage` atoms.
* fix compile warning<->error with clang
* address review
preallocate the pregenerated UIntSet's
* disable incorrect warning of 'unreachable code'
The warning is wrong since, when `out` has 0 elements (does not start `for` loop), the `return` is reached.
* fix clang warnings
1. use unsigned long for the buffer serializer
2. braces around scalar init
* address review
added work around to avoid warning with `for(...) return; return;` pattern
`else if constexpr` addition instead of cascading blocks
* push fix for use of `_BitScanForward`
* cleanup
* move around assert for proper checking
* syntax error
* use SLANG_ASSERT instead of assert
* test for why SLANG_ASSERT caused CI to fail with linux-arm builds
* test if `SLANG_ASSERT` really is causing a build issue for linux-arm
Diffstat (limited to 'examples/example-base')
0 files changed, 0 insertions, 0 deletions
