Use temporary parser for mangled names
Use a temporary parser to retrieve the mangled names of specific function overloads. This is necessary for GL_EXT_texture_shadow_lod.
This commit is contained in:
parent
ffefbcd9f3
commit
0bbe74c709
3 changed files with 73 additions and 47 deletions
|
|
@ -105,6 +105,11 @@ protected:
|
|||
const char* postfixes[5];
|
||||
const char* prefixes[EbtNumTypes];
|
||||
int dimMap[EsdNumDims];
|
||||
|
||||
private:
|
||||
// Holds the function declarations for GL_EXT_texture_shadow_lod
|
||||
// This extension is somewhat unique in the sense it defines overloads for built-in functions, rather than new functions.
|
||||
TString textureShadowLodFunctions;
|
||||
};
|
||||
|
||||
// change this back to false if depending on textual spellings of texturing calls when consuming the AST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue