RetroArch
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
spirv_common.hpp File Reference
#include "spirv.hpp"
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <functional>
#include <locale>
#include <memory>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <stdint.h>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
Include dependency graph for spirv_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  spirv_cross::CompilerError
 
class  spirv_cross::Bitset
 
struct  spirv_cross::Instruction
 
struct  spirv_cross::IVariant
 
struct  spirv_cross::SPIRUndef
 
struct  spirv_cross::SPIRCombinedImageSampler
 
struct  spirv_cross::SPIRConstantOp
 
struct  spirv_cross::SPIRType
 
struct  spirv_cross::SPIRType::ImageType
 
struct  spirv_cross::SPIRExtension
 
struct  spirv_cross::SPIREntryPoint
 
struct  spirv_cross::SPIRExpression
 
struct  spirv_cross::SPIRFunctionPrototype
 
struct  spirv_cross::SPIRBlock
 
struct  spirv_cross::SPIRBlock::Phi
 
struct  spirv_cross::SPIRBlock::Case
 
struct  spirv_cross::SPIRFunction
 
struct  spirv_cross::SPIRFunction::Parameter
 
struct  spirv_cross::SPIRFunction::CombinedImageSamplerParameter
 
struct  spirv_cross::SPIRAccessChain
 
struct  spirv_cross::SPIRVariable
 
struct  spirv_cross::SPIRConstant
 
union  spirv_cross::SPIRConstant::Constant
 
struct  spirv_cross::SPIRConstant::ConstantVector
 
struct  spirv_cross::SPIRConstant::ConstantMatrix
 
class  spirv_cross::Variant
 
struct  spirv_cross::Meta
 
struct  spirv_cross::Meta::Decoration
 
class  spirv_cross::ClassicLocale
 
class  spirv_cross::Hasher
 

Namespaces

 spirv_cross
 
 spirv_cross::inner
 

Macros

#define SPIRV_CROSS_THROW(x)   throw CompilerError(x)
 
#define SPIRV_CROSS_DEPRECATED(reason)
 
#define SPIRV_CROSS_FLT_FMT   "%.32g"
 

Typedefs

using spirv_cross::VariableTypeRemapCallback = std::function< void(const SPIRType &type, const std::string &var_name, std::string &name_of_type)>
 

Enumerations

enum  spirv_cross::Types {
  spirv_cross::TypeNone, spirv_cross::TypeType, spirv_cross::TypeVariable, spirv_cross::TypeConstant,
  spirv_cross::TypeFunction, spirv_cross::TypeFunctionPrototype, spirv_cross::TypePointer, spirv_cross::TypeBlock,
  spirv_cross::TypeExtension, spirv_cross::TypeExpression, spirv_cross::TypeConstantOp, spirv_cross::TypeCombinedImageSampler,
  spirv_cross::TypeAccessChain, spirv_cross::TypeUndef
}
 

Functions

template<typename T >
void spirv_cross::inner::join_helper (std::ostringstream &stream, T &&t)
 
template<typename T , typename... Ts>
void spirv_cross::inner::join_helper (std::ostringstream &stream, T &&t, Ts &&... ts)
 
template<typename... Ts>
std::string spirv_cross::join (Ts &&... ts)
 
std::string spirv_cross::merge (const std::vector< std::string > &list)
 
template<typename T >
std::string spirv_cross::convert_to_string (T &&t)
 
std::string spirv_cross::convert_to_string (float t)
 
std::string spirv_cross::convert_to_string (double t)
 
template<typename T >
Tspirv_cross::variant_get (Variant &var)
 
template<typename T >
const Tspirv_cross::variant_get (const Variant &var)
 
template<typename T , typename... P>
Tspirv_cross::variant_set (Variant &var, P &&... args)
 
static bool spirv_cross::type_is_floating_point (const SPIRType &type)
 

Macro Definition Documentation

◆ SPIRV_CROSS_DEPRECATED

#define SPIRV_CROSS_DEPRECATED (   reason)

◆ SPIRV_CROSS_FLT_FMT

#define SPIRV_CROSS_FLT_FMT   "%.32g"

◆ SPIRV_CROSS_THROW

#define SPIRV_CROSS_THROW (   x)    throw CompilerError(x)