summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-02-26 16:28:24 -0800
committerGitHub <noreply@github.com>2018-02-26 16:28:24 -0800
commit372900b5a30de76e86ebc380ce9ad618afea6fdf (patch)
tree1fd674f84cdc60646e51b4038232e28fac4fdf4d /source/slang/emit.cpp
parentc3bc49624891d9799975ae4a47e598961eea8aab (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/emit.cpp')
0 files changed, 0 insertions, 0 deletions