zenilib
0.5.3.0
|
Go to the source code of this file.
Functions | |
void | IdentifyBuiltIns (ShShaderType type, ShShaderSpec spec, const ShBuiltInResources &resources, TSymbolTable &symbolTable) |
void | InitExtensionBehavior (const ShBuiltInResources &resources, TExtensionBehavior &extBehavior) |
void | InsertBuiltInFunctions (ShShaderType type, ShShaderSpec spec, const ShBuiltInResources &resources, TSymbolTable &symbolTable) |
void IdentifyBuiltIns | ( | ShShaderType | type, |
ShShaderSpec | spec, | ||
const ShBuiltInResources & | resources, | ||
TSymbolTable & | symbolTable | ||
) |
Definition at line 421 of file Initialize.cpp.
References assert, EbpHigh, EbpMedium, EbpUndefined, EbtBool, EbtFloat, EOpAbs, EOpAcos, EOpAll, EOpAny, EOpAsin, EOpAtan, EOpCeil, EOpClamp, EOpCos, EOpCross, EOpDegrees, EOpDFdx, EOpDFdy, EOpDistance, EOpDot, EOpExp, EOpExp2, EOpFaceForward, EOpFloor, EOpFract, EOpFwidth, EOpGreaterThan, EOpGreaterThanEqual, EOpInverseSqrt, EOpLength, EOpLessThan, EOpLessThanEqual, EOpLog, EOpLog2, EOpMax, EOpMin, EOpMix, EOpMod, EOpMul, EOpNormalize, EOpPow, EOpRadians, EOpReflect, EOpRefract, EOpSign, EOpSin, EOpSmoothStep, EOpSqrt, EOpStep, EOpTan, EOpVectorEqual, EOpVectorLogicalNot, EOpVectorNotEqual, EvqFragColor, EvqFragCoord, EvqFragData, EvqFragDepth, EvqFrontFacing, EvqGlobal, EvqPointCoord, EvqPointSize, EvqPosition, ShBuiltInResources::EXT_frag_depth, ShBuiltInResources::FragmentPrecisionHigh, TSymbolTable::insert(), ShBuiltInResources::MaxDrawBuffers, NewPoolTString(), ShBuiltInResources::OES_standard_derivatives, TSymbolTable::relateToExtension(), TSymbolTable::relateToOperator(), TType::setArraySize(), SH_CSS_SHADERS_SPEC, SH_FRAGMENT_SHADER, and SH_VERTEX_SHADER.
Referenced by TCompiler::InitBuiltInSymbolTable().
void InitExtensionBehavior | ( | const ShBuiltInResources & | resources, |
TExtensionBehavior & | extBehavior | ||
) |
Definition at line 551 of file Initialize.cpp.
References ShBuiltInResources::ARB_texture_rectangle, EBhUndefined, ShBuiltInResources::EXT_draw_buffers, ShBuiltInResources::EXT_frag_depth, ShBuiltInResources::OES_EGL_image_external, and ShBuiltInResources::OES_standard_derivatives.
Referenced by TCompiler::Init().
void InsertBuiltInFunctions | ( | ShShaderType | type, |
ShShaderSpec | spec, | ||
const ShBuiltInResources & | resources, | ||
TSymbolTable & | symbolTable | ||
) |
Definition at line 17 of file Initialize.cpp.
References ShBuiltInResources::ARB_texture_rectangle, EbpHigh, EbpUndefined, EbtBool, EbtFloat, EbtInt, EbtSampler2D, EbtSampler2DRect, EbtSamplerCube, EbtSamplerExternalOES, EvqGlobal, EvqUniform, TSymbolTable::insert(), TSymbolTable::insertBuiltIn(), TSymbolTable::insertConstInt(), ShBuiltInResources::MaxCombinedTextureImageUnits, ShBuiltInResources::MaxDrawBuffers, ShBuiltInResources::MaxFragmentUniformVectors, ShBuiltInResources::MaxTextureImageUnits, ShBuiltInResources::MaxVaryingVectors, ShBuiltInResources::MaxVertexAttribs, ShBuiltInResources::MaxVertexTextureImageUnits, ShBuiltInResources::MaxVertexUniformVectors, TStructure::name(), NewPoolTFieldList(), NewPoolTString(), ShBuiltInResources::OES_EGL_image_external, ShBuiltInResources::OES_standard_derivatives, TVariable::setQualifier(), SH_CSS_SHADERS_SPEC, SH_FRAGMENT_SHADER, and SH_VERTEX_SHADER.
Referenced by TCompiler::InitBuiltInSymbolTable().