Searched refs:KeywordMap (Results 1 – 2 of 2) sorted by relevance
/third_party/glslang/glslang/HLSL/ |
D | hlslScanContext.cpp | 82 std::unordered_map<const char*, glslang::EHlslTokenClass, str_hash, str_eq>* KeywordMap = nullptr; variable 92 if (KeywordMap != nullptr) { in fillInKeywordMap() 97 KeywordMap = new std::unordered_map<const char*, EHlslTokenClass, str_hash, str_eq>; in fillInKeywordMap() 99 (*KeywordMap)["static"] = EHTokStatic; in fillInKeywordMap() 100 (*KeywordMap)["const"] = EHTokConst; in fillInKeywordMap() 101 (*KeywordMap)["unorm"] = EHTokUnorm; in fillInKeywordMap() 102 (*KeywordMap)["snorm"] = EHTokSNorm; in fillInKeywordMap() 103 (*KeywordMap)["extern"] = EHTokExtern; in fillInKeywordMap() 104 (*KeywordMap)["uniform"] = EHTokUniform; in fillInKeywordMap() 105 (*KeywordMap)["volatile"] = EHTokVolatile; in fillInKeywordMap() [all …]
|
/third_party/glslang/glslang/MachineIndependent/ |
D | Scan.cpp | 326 std::unordered_map<const char*, int, str_hash, str_eq>* KeywordMap = nullptr; variable 337 if (KeywordMap != nullptr) { in fillInKeywordMap() 342 KeywordMap = new std::unordered_map<const char*, int, str_hash, str_eq>; in fillInKeywordMap() 344 (*KeywordMap)["const"] = CONST; in fillInKeywordMap() 345 (*KeywordMap)["uniform"] = UNIFORM; in fillInKeywordMap() 346 (*KeywordMap)["buffer"] = BUFFER; in fillInKeywordMap() 347 (*KeywordMap)["in"] = IN; in fillInKeywordMap() 348 (*KeywordMap)["out"] = OUT; in fillInKeywordMap() 349 (*KeywordMap)["smooth"] = SMOOTH; in fillInKeywordMap() 350 (*KeywordMap)["flat"] = FLAT; in fillInKeywordMap() [all …]
|