diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2018-02-26 16:28:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-26 16:28:24 -0800 |
| commit | 372900b5a30de76e86ebc380ce9ad618afea6fdf (patch) | |
| tree | 1fd674f84cdc60646e51b4038232e28fac4fdf4d /source/slang/check.cpp | |
| parent | c3bc49624891d9799975ae4a47e598961eea8aab (diff) | |
Add GLSL translations for bit manipulation intrinsics (#430)
The following translations are added:
* HLSL `countbits` becomes GLSL `bitCount`
* HLSL `firstbitlow` becomes GLSL `findLSB`
* HLSL `firstbithight` becomes GLSL `findMSB`
* HLSL `rerverseBits` becomes GLSL `bitfieldReverse`
There are currently no HLSL equivalents for the bitfield insert/extract operations in GLSL. In the future we could expose those as intrinsics under their GLSL names, with HLSL translations, if desired.
Diffstat (limited to 'source/slang/check.cpp')
0 files changed, 0 insertions, 0 deletions
