webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions
util.cpp File Reference
#include "compiler/translator/util.h"
#include <limits>
#include "compiler/preprocessor/numeric_lex.h"
#include "compiler/translator/SymbolTable.h"
#include "common/utilities.h"

Namespaces

 sh
 

Functions

bool strtof_clamp (const std::string &str, float *value)
 
bool atoi_clamp (const char *str, unsigned int *value)
 
GLenum sh::GLVariableType (const TType &type)
 
GLenum sh::GLVariablePrecision (const TType &type)
 
TString sh::ArrayString (const TType &type)
 
bool sh::IsVaryingOut (TQualifier qualifier)
 
bool sh::IsVaryingIn (TQualifier qualifier)
 
bool sh::IsVarying (TQualifier qualifier)
 
InterpolationType sh::GetInterpolationType (TQualifier qualifier)
 
TType sh::GetInterfaceBlockType (const sh::InterfaceBlock &block)
 
TType sh::GetShaderVariableBasicType (const sh::ShaderVariable &var)
 
TType sh::GetShaderVariableType (const sh::ShaderVariable &var)
 
TOperator sh::TypeToConstructorOperator (const TType &type)
 
bool sh::CanBeInvariantESSL1 (TQualifier qualifier)
 
bool sh::CanBeInvariantESSL3OrGreater (TQualifier qualifier)
 
bool sh::IsBuiltinOutputVariable (TQualifier qualifier)
 
bool sh::IsBuiltinFragmentInputVariable (TQualifier qualifier)
 

Function Documentation

◆ atoi_clamp()

bool atoi_clamp ( const char *  str,
unsigned int *  value 
)

◆ strtof_clamp()

bool strtof_clamp ( const std::string str,
float *  value 
)