webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Functions
compiler_test.h File Reference
#include <map>
#include "gtest/gtest.h"
#include "angle_gl.h"
#include "compiler/translator/TranslatorESSL.h"
#include "GLSLANG/ShaderLang.h"

Go to the source code of this file.

Classes

class  MatchOutputCodeTest
 

Functions

bool compileTestShader (GLenum type, ShShaderSpec spec, ShShaderOutput output, const std::string &shaderString, ShBuiltInResources *resources, ShCompileOptions compileOptions, std::string *translatedCode, std::string *infoLog)
 
bool compileTestShader (GLenum type, ShShaderSpec spec, ShShaderOutput output, const std::string &shaderString, ShCompileOptions compileOptions, std::string *translatedCode, std::string *infoLog)
 
const TIntermSymbolFindSymbolNode (TIntermNode *root, const TString &symbolName, TBasicType basicType)
 

Function Documentation

◆ compileTestShader() [1/2]

bool compileTestShader ( GLenum  type,
ShShaderSpec  spec,
ShShaderOutput  output,
const std::string shaderString,
ShBuiltInResources resources,
ShCompileOptions  compileOptions,
std::string translatedCode,
std::string infoLog 
)

◆ compileTestShader() [2/2]

bool compileTestShader ( GLenum  type,
ShShaderSpec  spec,
ShShaderOutput  output,
const std::string shaderString,
ShCompileOptions  compileOptions,
std::string translatedCode,
std::string infoLog 
)

◆ FindSymbolNode()

const TIntermSymbol* FindSymbolNode ( TIntermNode root,
const TString symbolName,
TBasicType  basicType 
)