RetroArch
Classes | Namespaces | Enumerations | Functions | Variables
disassemble.cpp File Reference
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <iomanip>
#include <stack>
#include <sstream>
#include "disassemble.h"
#include "doc.h"
#include "GLSL.std.450.h"
Include dependency graph for disassemble.cpp:

Classes

class  spv::SpirvStream
 

Namespaces

 spv
 

Enumerations

enum  spv::GLSLstd450 {
  spv::GLSLstd450Bad = 0, spv::GLSLstd450Round = 1, spv::GLSLstd450RoundEven = 2, spv::GLSLstd450Trunc = 3,
  spv::GLSLstd450FAbs = 4, spv::GLSLstd450SAbs = 5, spv::GLSLstd450FSign = 6, spv::GLSLstd450SSign = 7,
  spv::GLSLstd450Floor = 8, spv::GLSLstd450Ceil = 9, spv::GLSLstd450Fract = 10, spv::GLSLstd450Radians = 11,
  spv::GLSLstd450Degrees = 12, spv::GLSLstd450Sin = 13, spv::GLSLstd450Cos = 14, spv::GLSLstd450Tan = 15,
  spv::GLSLstd450Asin = 16, spv::GLSLstd450Acos = 17, spv::GLSLstd450Atan = 18, spv::GLSLstd450Sinh = 19,
  spv::GLSLstd450Cosh = 20, spv::GLSLstd450Tanh = 21, spv::GLSLstd450Asinh = 22, spv::GLSLstd450Acosh = 23,
  spv::GLSLstd450Atanh = 24, spv::GLSLstd450Atan2 = 25, spv::GLSLstd450Pow = 26, spv::GLSLstd450Exp = 27,
  spv::GLSLstd450Log = 28, spv::GLSLstd450Exp2 = 29, spv::GLSLstd450Log2 = 30, spv::GLSLstd450Sqrt = 31,
  spv::GLSLstd450InverseSqrt = 32, spv::GLSLstd450Determinant = 33, spv::GLSLstd450MatrixInverse = 34, spv::GLSLstd450Modf = 35,
  spv::GLSLstd450ModfStruct = 36, spv::GLSLstd450FMin = 37, spv::GLSLstd450UMin = 38, spv::GLSLstd450SMin = 39,
  spv::GLSLstd450FMax = 40, spv::GLSLstd450UMax = 41, spv::GLSLstd450SMax = 42, spv::GLSLstd450FClamp = 43,
  spv::GLSLstd450UClamp = 44, spv::GLSLstd450SClamp = 45, spv::GLSLstd450FMix = 46, spv::GLSLstd450IMix = 47,
  spv::GLSLstd450Step = 48, spv::GLSLstd450SmoothStep = 49, spv::GLSLstd450Fma = 50, spv::GLSLstd450Frexp = 51,
  spv::GLSLstd450FrexpStruct = 52, spv::GLSLstd450Ldexp = 53, spv::GLSLstd450PackSnorm4x8 = 54, spv::GLSLstd450PackUnorm4x8 = 55,
  spv::GLSLstd450PackSnorm2x16 = 56, spv::GLSLstd450PackUnorm2x16 = 57, spv::GLSLstd450PackHalf2x16 = 58, spv::GLSLstd450PackDouble2x32 = 59,
  spv::GLSLstd450UnpackSnorm2x16 = 60, spv::GLSLstd450UnpackUnorm2x16 = 61, spv::GLSLstd450UnpackHalf2x16 = 62, spv::GLSLstd450UnpackSnorm4x8 = 63,
  spv::GLSLstd450UnpackUnorm4x8 = 64, spv::GLSLstd450UnpackDouble2x32 = 65, spv::GLSLstd450Length = 66, spv::GLSLstd450Distance = 67,
  spv::GLSLstd450Cross = 68, spv::GLSLstd450Normalize = 69, spv::GLSLstd450FaceForward = 70, spv::GLSLstd450Reflect = 71,
  spv::GLSLstd450Refract = 72, spv::GLSLstd450FindILsb = 73, spv::GLSLstd450FindSMsb = 74, spv::GLSLstd450FindUMsb = 75,
  spv::GLSLstd450InterpolateAtCentroid = 76, spv::GLSLstd450InterpolateAtSample = 77, spv::GLSLstd450InterpolateAtOffset = 78, spv::GLSLstd450NMin = 79,
  spv::GLSLstd450NMax = 80, spv::GLSLstd450NClamp = 81, spv::GLSLstd450Count
}
 
enum  spv::ExtInstSet { spv::GLSL450Inst, spv::OpenCLExtInst }
 

Functions

static void spv::Kill (std::ostream &out, const char *message)
 
static void spv::GLSLstd450GetDebugNames (const char **names)
 
void spv::Disassemble (std::ostream &out, const std::vector< unsigned int > &stream)
 

Variables

static const int spv::GLSLstd450Version = 100
 
static const int spv::GLSLstd450Revision = 1
 
const char * GlslStd450DebugNames [spv::GLSLstd450Count]
 

Variable Documentation

◆ GlslStd450DebugNames

const char* GlslStd450DebugNames[spv::GLSLstd450Count]