RetroArch
Classes | Namespaces | Enumerations | Functions
TestFixture.h File Reference
#include <cstdint>
#include <fstream>
#include <sstream>
#include <streambuf>
#include <tuple>
#include <string>
#include <gtest/gtest.h>
#include "SPIRV/GlslangToSpv.h"
#include "SPIRV/disassemble.h"
#include "SPIRV/doc.h"
#include "SPIRV/SPVRemapper.h"
#include "StandAlone/ResourceLimits.h"
#include "glslang/Public/ShaderLang.h"
#include "Initializer.h"
#include "Settings.h"
Include dependency graph for TestFixture.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  glslangtest::GlslangTest< GT >
 
struct  glslangtest::GlslangTest< GT >::ShaderResult
 
struct  glslangtest::GlslangTest< GT >::GlslangResult
 

Namespaces

 glslangtest
 

Enumerations

enum  glslangtest::Source { glslangtest::Source::GLSL, glslangtest::Source::HLSL }
 
enum  glslangtest::Semantics { glslangtest::Semantics::OpenGL, glslangtest::Semantics::Vulkan }
 
enum  glslangtest::Target { glslangtest::Target::AST, glslangtest::Target::Spv, glslangtest::Target::BothASTAndSpv }
 

Functions

std::string glslangtest::FileNameAsCustomTestSuffix (const ::testing::TestParamInfo< std::string > &info)
 
EShLanguage glslangtest::GetShaderStage (const std::string &stage)
 
EShMessages glslangtest::DeriveOptions (Source source, Semantics semantics, Target target)
 
std::pair< bool, std::stringglslangtest::ReadFile (const std::string &path)
 
std::pair< bool, std::vector< std::uint32_t > > glslangtest::ReadSpvBinaryFile (const std::string &path)
 
bool glslangtest::WriteFile (const std::string &path, const std::string &contents)
 
std::string glslangtest::GetSuffix (const std::string &name)