HLSL: Correct some mistakes for min16 types
authorRex Xu <rex.xu@amd.com>
Mon, 12 Mar 2018 15:15:11 +0000 (23:15 +0800)
committerRex Xu <rex.xu@amd.com>
Mon, 12 Mar 2018 15:15:11 +0000 (23:15 +0800)
commita00e51b5b254096616bdaa5c3029055e77f65e78
treefe0fa78c452cf7b22315553e5b361edeb3994769
parent845860d56513d95e15fe4820df7272f9687d076e
HLSL: Correct some mistakes for min16 types

- Add missing constructor ops to support float16/int16/uint16 types
- Allow half float literals
- Correct two errors of double literal parse in HLSL: extension check and
  postfix
glslang/MachineIndependent/preprocessor/PpScanner.cpp
hlsl/hlslGrammar.cpp
hlsl/hlslParseHelper.cpp
hlsl/hlslScanContext.cpp
hlsl/hlslTokens.h