7 #ifndef COMPILIER_BUILT_IN_FUNCTION_EMULATOR_H_
8 #define COMPILIER_BUILT_IN_FUNCTION_EMULATOR_H_
47 enum TBuiltInFunction {
81 TBuiltInFunction IdentifyFunction(
TOperator op,
const TType& param);
82 TBuiltInFunction IdentifyFunction(
87 std::vector<TBuiltInFunction> mFunctions;
89 const bool* mFunctionMask;
90 const char** mFunctionSource;
93 #endif // COMPILIER_BUILT_IN_FUNCTION_EMULATOR_H_
EGLImageKHR EGLint * name
bool SetFunctionCalled(TOperator op, const TType ¶m)
static TString GetEmulatedFunctionName(const TString &name)
std::basic_string< char, std::char_traits< char >, TStringAllocator > TString
BuiltInFunctionEmulator(ShShaderType shaderType)
void MarkBuiltInFunctionsForEmulation(TIntermNode *root)
void OutputEmulatedFunctionDefinition(TInfoSinkBase &out, bool withPrecision) const