forked from OSchip/llvm-project
77f72ac15b
HLSL supports half type. When enable-16bit-types is not set, half will be treated as float. When enable-16bit-types is set, half will be treated like real 16bit float type and map to llvm half type. Also change CXXABI to Microsoft to match dxc behavior. The mangle name for half is "$f16@" when half is treat as native half type and "$halff@" when treat as float. In AST, half is still half. The special thing is done at clang codeGen, when NativeHalfType is false, half will translated into float. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D124790 |
||
---|---|---|
.. | ||
basic-target.c | ||
basic_types.hlsl | ||
half.hlsl | ||
lit.local.cfg | ||
validator_version.hlsl |