7 #ifndef _SHHANDLE_INCLUDED_
8 #define _SHHANDLE_INCLUDED_
65 bool compile(
const char*
const shaderStrings[],
124 int maxUniformVectors;
125 int maxExpressionComplexity;
126 int maxCallStackDepth;
135 bool fragmentPrecisionHigh;
167 #endif // _SHHANDLE_INCLUDED_
TSymbolTable & getSymbolTable()
TCompiler(ShShaderType type, ShShaderSpec spec)
bool Init(const ShBuiltInResources &resources)
virtual void translate(TIntermNode *root)=0
virtual TranslatorHLSL * getAsTranslatorHLSL()
bool validateLimitations(TIntermNode *root)
bool enforceVertexShaderTimingRestrictions(TIntermNode *root)
std::map< std::string, TBehavior > TExtensionBehavior
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
bool enforceTimingRestrictions(TIntermNode *root, bool outputGraph)
int getMappedNameMaxLength() const
khronos_uint64_t(* ShHashFunction64)(const char *, size_t)
ShShaderType getShaderType() const
std::map< TPersistString, TPersistString > NameMap
const BuiltInFunctionEmulator & getBuiltInFunctionEmulator() const
virtual TCompiler * getAsCompiler()
bool enforcePackingRestrictions()
const ArrayBoundsClamper & getArrayBoundsClamper() const
TInfoSink & getInfoSink()
void collectAttribsUniforms(TIntermNode *root)
ShArrayIndexClampingStrategy
ShHashFunction64 getHashFunction() const
bool isWebGLBasedSpec(ShShaderSpec spec)
ShArrayIndexClampingStrategy getArrayIndexClampingStrategy() const
TCompiler * ConstructCompiler(ShShaderType type, ShShaderSpec spec, ShShaderOutput output)
bool InitBuiltInSymbolTable(const ShBuiltInResources &resources)
void rewriteCSSShader(TIntermNode *root)
bool limitExpressionComplexity(TIntermNode *root)
void mapLongVariableNames(TIntermNode *root)
const TExtensionBehavior & getExtensionBehavior() const
void DeleteCompiler(TCompiler *compiler)
virtual TCompiler * getAsCompiler()
ShShaderSpec getShaderSpec() const
const ShBuiltInResources & getResources() const
std::vector< TVariableInfo > TVariableInfoList
bool enforceFragmentShaderTimingRestrictions(const TDependencyGraph &graph)
const TVariableInfoList & getUniforms() const
bool compile(const char *const shaderStrings[], size_t numStrings, int compileOptions)
bool detectCallDepth(TIntermNode *root, TInfoSink &infoSink, bool limitCallStackDepth)
const TVariableInfoList & getAttribs() const