20 sink <<
"#version " << version <<
"\n";
TSymbolTable & getSymbolTable()
GLsizei GLenum GLboolean sink
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
ShShaderType getShaderType() const
const BuiltInFunctionEmulator & getBuiltInFunctionEmulator() const
virtual void translate(TIntermNode *root)
const ArrayBoundsClamper & getArrayBoundsClamper() const
TInfoSink & getInfoSink()
ShHashFunction64 getHashFunction() const
ShArrayIndexClampingStrategy getArrayIndexClampingStrategy() const
virtual void traverse(TIntermTraverser *)=0
TranslatorGLSL(ShShaderType type, ShShaderSpec spec)
void OutputClampingFunctionDefinition(TInfoSinkBase &out) const
void OutputEmulatedFunctionDefinition(TInfoSinkBase &out, bool withPrecision) const
static void writeVersion(ShShaderType type, TIntermNode *root, TInfoSinkBase &sink)