HLSL: Map min types to GLSL 16-bit types

This commit is contained in:
Rex Xu 2018-03-07 13:10:01 +08:00
parent 02538357c8
commit cb61eec948
4 changed files with 20 additions and 1 deletions

View file

@ -114,6 +114,7 @@ public:
bool relaxedErrors() const { return (messages & EShMsgRelaxedErrors) != 0; }
bool suppressWarnings() const { return (messages & EShMsgSuppressWarnings) != 0; }
bool isReadingHLSL() const { return (messages & EShMsgReadHlsl) == EShMsgReadHlsl; }
bool hlslEnable16BitTypes() const { return (messages & EShMsgHlslEnable16BitTypes) != 0; }
TInfoSink& infoSink;