Revision 372900b5a30de76e86ebc380ce9ad618afea6fdf authored by Tim Foley on 27 February 2018, 00:28:24 UTC, committed by GitHub on 27 February 2018, 00:28:24 UTC
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.
1 parent c3bc496
History

back to top