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
This commit is contained in:
parent
845860d565
commit
a00e51b5b2
5 changed files with 50 additions and 9 deletions
|
|
@ -298,6 +298,7 @@ enum EHlslTokenClass {
|
|||
EHTokConstantBuffer,
|
||||
|
||||
// constant
|
||||
EHTokFloat16Constant,
|
||||
EHTokFloatConstant,
|
||||
EHTokDoubleConstant,
|
||||
EHTokIntConstant,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue