|
| GlslangTest () |
|
void | tryLoadFile (const std::string &path, const std::string &tag, std::string *contents) |
|
void | tryLoadSpvFile (const std::string &path, const std::string &tag, std::vector< uint32_t > &contents) |
|
void | checkEqAndUpdateIfRequested (const std::string &expected, const std::string &real, const std::string &fname) |
|
bool | compile (glslang::TShader *shader, const std::string &code, const std::string &entryPointName, EShMessages controls, const TBuiltInResource *resources=nullptr) |
|
GlslangResult | compileAndLink (const std::string shaderName, const std::string &code, const std::string &entryPointName, EShMessages controls, glslang::EShTargetClientVersion clientTargetVersion, bool flattenUniformArrays=false, EShTextureSamplerTransformMode texSampTransMode=EShTexSampTransKeep, bool enableOptimizer=false, bool automap=true) |
|
GlslangResult | compileLinkIoMap (const std::string shaderName, const std::string &code, const std::string &entryPointName, EShMessages controls, int baseSamplerBinding, int baseTextureBinding, int baseImageBinding, int baseUboBinding, int baseSsboBinding, bool autoMapBindings, bool flattenUniformArrays) |
|
GlslangResult | compileLinkRemap (const std::string shaderName, const std::string &code, const std::string &entryPointName, EShMessages controls, const unsigned int remapOptions=spv::spirvbin_t::NONE) |
|
GlslangResult | remap (const std::string shaderName, const std::vector< uint32_t > &code, EShMessages controls, const unsigned int remapOptions=spv::spirvbin_t::NONE) |
|
void | outputResultToStream (std::ostringstream *stream, const GlslangResult &result, EShMessages controls) |
|
void | loadFileCompileAndCheck (const std::string &testDir, const std::string &testName, Source source, Semantics semantics, glslang::EShTargetClientVersion clientTargetVersion, Target target, bool automap=true, const std::string &entryPointName="", const std::string &baseDir="/baseResults/", const bool enableOptimizer=false) |
|
void | loadFileCompileFlattenUniformsAndCheck (const std::string &testDir, const std::string &testName, Source source, Semantics semantics, Target target, const std::string &entryPointName="") |
|
void | loadFileCompileIoMapAndCheck (const std::string &testDir, const std::string &testName, Source source, Semantics semantics, Target target, const std::string &entryPointName, int baseSamplerBinding, int baseTextureBinding, int baseImageBinding, int baseUboBinding, int baseSsboBinding, bool autoMapBindings, bool flattenUniformArrays) |
|
void | loadFileCompileRemapAndCheck (const std::string &testDir, const std::string &testName, Source source, Semantics semantics, Target target, const std::string &entryPointName="", const unsigned int remapOptions=spv::spirvbin_t::NONE) |
|
void | loadFileRemapAndCheck (const std::string &testDir, const std::string &testName, Source source, Semantics semantics, Target target, const unsigned int remapOptions=spv::spirvbin_t::NONE) |
|
std::tuple< bool, std::string, std::string > | preprocess (const std::string &source) |
|
void | loadFilePreprocessAndCheck (const std::string &testDir, const std::string &testName) |
|
void | loadCompileUpgradeTextureToSampledTextureAndDropSamplersAndCheck (const std::string &testDir, const std::string &testName, Source source, Semantics semantics, Target target, const std::string &entryPointName="") |
|