GLSL: Remove use of __ in the implementation of keywords having __.

This commit is contained in:
John Kessenich 2018-08-30 12:22:33 -06:00
parent e7df8e0b76
commit d5aabf34f9
4 changed files with 7 additions and 7 deletions

View file

@ -683,7 +683,7 @@ void TScanContext::fillInKeywordMap()
(*KeywordMap)["smooth"] = SMOOTH;
(*KeywordMap)["flat"] = FLAT;
#ifdef AMD_EXTENSIONS
(*KeywordMap)["__explicitInterpAMD"] = __EXPLICITINTERPAMD;
(*KeywordMap)["__explicitInterpAMD"] = EXPLICITINTERPAMD;
#endif
(*KeywordMap)["centroid"] = CENTROID;
(*KeywordMap)["precise"] = PRECISE;
@ -1490,7 +1490,7 @@ int TScanContext::tokenizeIdentifier()
return keyword;
#ifdef AMD_EXTENSIONS
case __EXPLICITINTERPAMD:
case EXPLICITINTERPAMD:
if (parseContext.profile != EEsProfile && parseContext.version >= 450 &&
parseContext.extensionTurnedOn(E_GL_AMD_shader_explicit_vertex_parameter))
return keyword;