Path: blob/master/thirdparty/glslang/SPIRV/NonSemanticShaderDebugInfo100.h
9903 views
// Copyright (c) 2018 The Khronos Group Inc.1//2// Permission is hereby granted, free of charge, to any person obtaining a copy3// of this software and/or associated documentation files (the "Materials"),4// to deal in the Materials without restriction, including without limitation5// the rights to use, copy, modify, merge, publish, distribute, sublicense,6// and/or sell copies of the Materials, and to permit persons to whom the7// Materials are furnished to do so, subject to the following conditions:8//9// The above copyright notice and this permission notice shall be included in10// all copies or substantial portions of the Materials.11//12// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS13// STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND14// HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/15//16// THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS17// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,18// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL19// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER20// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING21// FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS22// IN THE MATERIALS.2324#ifndef SPIRV_UNIFIED1_NonSemanticShaderDebugInfo100_H_25#define SPIRV_UNIFIED1_NonSemanticShaderDebugInfo100_H_2627#ifdef __cplusplus28extern "C" {29#endif3031enum {32NonSemanticShaderDebugInfo100Version = 100,33NonSemanticShaderDebugInfo100Version_BitWidthPadding = 0x7fffffff34};35enum {36NonSemanticShaderDebugInfo100Revision = 6,37NonSemanticShaderDebugInfo100Revision_BitWidthPadding = 0x7fffffff38};3940enum NonSemanticShaderDebugInfo100Instructions {41NonSemanticShaderDebugInfo100DebugInfoNone = 0,42NonSemanticShaderDebugInfo100DebugCompilationUnit = 1,43NonSemanticShaderDebugInfo100DebugTypeBasic = 2,44NonSemanticShaderDebugInfo100DebugTypePointer = 3,45NonSemanticShaderDebugInfo100DebugTypeQualifier = 4,46NonSemanticShaderDebugInfo100DebugTypeArray = 5,47NonSemanticShaderDebugInfo100DebugTypeVector = 6,48NonSemanticShaderDebugInfo100DebugTypedef = 7,49NonSemanticShaderDebugInfo100DebugTypeFunction = 8,50NonSemanticShaderDebugInfo100DebugTypeEnum = 9,51NonSemanticShaderDebugInfo100DebugTypeComposite = 10,52NonSemanticShaderDebugInfo100DebugTypeMember = 11,53NonSemanticShaderDebugInfo100DebugTypeInheritance = 12,54NonSemanticShaderDebugInfo100DebugTypePtrToMember = 13,55NonSemanticShaderDebugInfo100DebugTypeTemplate = 14,56NonSemanticShaderDebugInfo100DebugTypeTemplateParameter = 15,57NonSemanticShaderDebugInfo100DebugTypeTemplateTemplateParameter = 16,58NonSemanticShaderDebugInfo100DebugTypeTemplateParameterPack = 17,59NonSemanticShaderDebugInfo100DebugGlobalVariable = 18,60NonSemanticShaderDebugInfo100DebugFunctionDeclaration = 19,61NonSemanticShaderDebugInfo100DebugFunction = 20,62NonSemanticShaderDebugInfo100DebugLexicalBlock = 21,63NonSemanticShaderDebugInfo100DebugLexicalBlockDiscriminator = 22,64NonSemanticShaderDebugInfo100DebugScope = 23,65NonSemanticShaderDebugInfo100DebugNoScope = 24,66NonSemanticShaderDebugInfo100DebugInlinedAt = 25,67NonSemanticShaderDebugInfo100DebugLocalVariable = 26,68NonSemanticShaderDebugInfo100DebugInlinedVariable = 27,69NonSemanticShaderDebugInfo100DebugDeclare = 28,70NonSemanticShaderDebugInfo100DebugValue = 29,71NonSemanticShaderDebugInfo100DebugOperation = 30,72NonSemanticShaderDebugInfo100DebugExpression = 31,73NonSemanticShaderDebugInfo100DebugMacroDef = 32,74NonSemanticShaderDebugInfo100DebugMacroUndef = 33,75NonSemanticShaderDebugInfo100DebugImportedEntity = 34,76NonSemanticShaderDebugInfo100DebugSource = 35,77NonSemanticShaderDebugInfo100DebugFunctionDefinition = 101,78NonSemanticShaderDebugInfo100DebugSourceContinued = 102,79NonSemanticShaderDebugInfo100DebugLine = 103,80NonSemanticShaderDebugInfo100DebugNoLine = 104,81NonSemanticShaderDebugInfo100DebugBuildIdentifier = 105,82NonSemanticShaderDebugInfo100DebugStoragePath = 106,83NonSemanticShaderDebugInfo100DebugEntryPoint = 107,84NonSemanticShaderDebugInfo100DebugTypeMatrix = 108,85NonSemanticShaderDebugInfo100InstructionsMax = 0x7fffffff86};878889enum NonSemanticShaderDebugInfo100DebugInfoFlags {90NonSemanticShaderDebugInfo100None = 0x0000,91NonSemanticShaderDebugInfo100FlagIsProtected = 0x01,92NonSemanticShaderDebugInfo100FlagIsPrivate = 0x02,93NonSemanticShaderDebugInfo100FlagIsPublic = 0x03,94NonSemanticShaderDebugInfo100FlagIsLocal = 0x04,95NonSemanticShaderDebugInfo100FlagIsDefinition = 0x08,96NonSemanticShaderDebugInfo100FlagFwdDecl = 0x10,97NonSemanticShaderDebugInfo100FlagArtificial = 0x20,98NonSemanticShaderDebugInfo100FlagExplicit = 0x40,99NonSemanticShaderDebugInfo100FlagPrototyped = 0x80,100NonSemanticShaderDebugInfo100FlagObjectPointer = 0x100,101NonSemanticShaderDebugInfo100FlagStaticMember = 0x200,102NonSemanticShaderDebugInfo100FlagIndirectVariable = 0x400,103NonSemanticShaderDebugInfo100FlagLValueReference = 0x800,104NonSemanticShaderDebugInfo100FlagRValueReference = 0x1000,105NonSemanticShaderDebugInfo100FlagIsOptimized = 0x2000,106NonSemanticShaderDebugInfo100FlagIsEnumClass = 0x4000,107NonSemanticShaderDebugInfo100FlagTypePassByValue = 0x8000,108NonSemanticShaderDebugInfo100FlagTypePassByReference = 0x10000,109NonSemanticShaderDebugInfo100FlagUnknownPhysicalLayout = 0x20000,110NonSemanticShaderDebugInfo100DebugInfoFlagsMax = 0x7fffffff111};112113enum NonSemanticShaderDebugInfo100BuildIdentifierFlags {114NonSemanticShaderDebugInfo100IdentifierPossibleDuplicates = 0x01,115NonSemanticShaderDebugInfo100BuildIdentifierFlagsMax = 0x7fffffff116};117118enum NonSemanticShaderDebugInfo100DebugBaseTypeAttributeEncoding {119NonSemanticShaderDebugInfo100Unspecified = 0,120NonSemanticShaderDebugInfo100Address = 1,121NonSemanticShaderDebugInfo100Boolean = 2,122NonSemanticShaderDebugInfo100Float = 3,123NonSemanticShaderDebugInfo100Signed = 4,124NonSemanticShaderDebugInfo100SignedChar = 5,125NonSemanticShaderDebugInfo100Unsigned = 6,126NonSemanticShaderDebugInfo100UnsignedChar = 7,127NonSemanticShaderDebugInfo100DebugBaseTypeAttributeEncodingMax = 0x7fffffff128};129130enum NonSemanticShaderDebugInfo100DebugCompositeType {131NonSemanticShaderDebugInfo100Class = 0,132NonSemanticShaderDebugInfo100Structure = 1,133NonSemanticShaderDebugInfo100Union = 2,134NonSemanticShaderDebugInfo100DebugCompositeTypeMax = 0x7fffffff135};136137enum NonSemanticShaderDebugInfo100DebugTypeQualifier {138NonSemanticShaderDebugInfo100ConstType = 0,139NonSemanticShaderDebugInfo100VolatileType = 1,140NonSemanticShaderDebugInfo100RestrictType = 2,141NonSemanticShaderDebugInfo100AtomicType = 3,142NonSemanticShaderDebugInfo100DebugTypeQualifierMax = 0x7fffffff143};144145enum NonSemanticShaderDebugInfo100DebugOperation {146NonSemanticShaderDebugInfo100Deref = 0,147NonSemanticShaderDebugInfo100Plus = 1,148NonSemanticShaderDebugInfo100Minus = 2,149NonSemanticShaderDebugInfo100PlusUconst = 3,150NonSemanticShaderDebugInfo100BitPiece = 4,151NonSemanticShaderDebugInfo100Swap = 5,152NonSemanticShaderDebugInfo100Xderef = 6,153NonSemanticShaderDebugInfo100StackValue = 7,154NonSemanticShaderDebugInfo100Constu = 8,155NonSemanticShaderDebugInfo100Fragment = 9,156NonSemanticShaderDebugInfo100DebugOperationMax = 0x7fffffff157};158159enum NonSemanticShaderDebugInfo100DebugImportedEntity {160NonSemanticShaderDebugInfo100ImportedModule = 0,161NonSemanticShaderDebugInfo100ImportedDeclaration = 1,162NonSemanticShaderDebugInfo100DebugImportedEntityMax = 0x7fffffff163};164165166#ifdef __cplusplus167}168#endif169170#endif // SPIRV_UNIFIED1_NonSemanticShaderDebugInfo100_H_171172173