#include "doc.h"
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <mutex>
namespace spv {
extern "C" {
#include "GLSL.ext.KHR.h"
#include "GLSL.ext.EXT.h"
#include "GLSL.ext.AMD.h"
#include "GLSL.ext.NV.h"
#include "GLSL.ext.ARM.h"
#include "GLSL.ext.QCOM.h"
}
}
namespace spv {
const char* SourceString(int source)
{ … }
const char* ExecutionModelString(int model)
{ … }
const char* AddressingString(int addr)
{ … }
const char* MemoryString(int mem)
{ … }
const int ExecutionModeCeiling = …;
const char* ExecutionModeString(int mode)
{ … }
const char* StorageClassString(int StorageClass)
{ … }
const int DecorationCeiling = …;
const char* DecorationString(int decoration)
{ … }
const char* BuiltInString(int builtIn)
{ … }
const char* DimensionString(int dim)
{ … }
const char* SamplerAddressingModeString(int mode)
{ … }
const char* SamplerFilterModeString(int mode)
{ … }
const char* ImageFormatString(int format)
{ … }
const char* ImageChannelOrderString(int format)
{ … }
const char* ImageChannelDataTypeString(int type)
{ … }
const int ImageOperandsCeiling = …;
const char* ImageOperandsString(int format)
{ … }
const char* FPFastMathString(int mode)
{ … }
const char* FPRoundingModeString(int mode)
{ … }
const char* LinkageTypeString(int type)
{ … }
const char* FuncParamAttrString(int attr)
{ … }
const char* AccessQualifierString(int attr)
{ … }
const int SelectControlCeiling = …;
const char* SelectControlString(int cont)
{ … }
const int LoopControlCeiling = …;
const char* LoopControlString(int cont)
{ … }
const int FunctionControlCeiling = …;
const char* FunctionControlString(int cont)
{ … }
const char* MemorySemanticsString(int mem)
{ … }
const int MemoryAccessCeiling = …;
const char* MemoryAccessString(int mem)
{ … }
const int CooperativeMatrixOperandsCeiling = …;
const char* CooperativeMatrixOperandsString(int op)
{ … }
const char* ScopeString(int mem)
{ … }
const char* GroupOperationString(int gop)
{ … }
const char* KernelEnqueueFlagsString(int flag)
{ … }
const char* KernelProfilingInfoString(int info)
{ … }
const char* CapabilityString(int info)
{ … }
const char* OpcodeString(int op)
{ … }
InstructionParameters InstructionDesc[OpCodeMask + 1];
OperandParameters ExecutionModeOperands[ExecutionModeCeiling];
OperandParameters DecorationOperands[DecorationCeiling];
EnumDefinition OperandClassParams[OperandCount];
EnumParameters ExecutionModeParams[ExecutionModeCeiling];
EnumParameters ImageOperandsParams[ImageOperandsCeiling];
EnumParameters DecorationParams[DecorationCeiling];
EnumParameters LoopControlParams[FunctionControlCeiling];
EnumParameters SelectionControlParams[SelectControlCeiling];
EnumParameters FunctionControlParams[FunctionControlCeiling];
EnumParameters MemoryAccessParams[MemoryAccessCeiling];
EnumParameters CooperativeMatrixOperandsParams[CooperativeMatrixOperandsCeiling];
void Parameterize()
{ … }
};