yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
4d241f2cc
master
1// Copyright: 2017-2024 The Khronos Group Inc. 2// License: MIT 3// 4// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS 5// STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND 6// HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ 7// 8 9#ifndef SPIRV_EXTINST_DebugInfo_H_ 10#define SPIRV_EXTINST_DebugInfo_H_ 11 12#ifdef __cplusplus 13extern "C" { 14#endif 15 16enum {DebugInfoVersion = 100 ,DebugInfoVersion_BitWidthPadding = 0x7fffffff }; 17enum {DebugInfoRevision = 1 ,DebugInfoRevision_BitWidthPadding = 0x7fffffff }; 18 19enum DebugInfoInstructions { 20DebugInfoDebugInfoNone = 0 , 21DebugInfoDebugCompilationUnit = 1 , 22DebugInfoDebugTypeBasic = 2 , 23DebugInfoDebugTypePointer = 3 , 24DebugInfoDebugTypeQualifier = 4 , 25DebugInfoDebugTypeArray = 5 , 26DebugInfoDebugTypeVector = 6 , 27DebugInfoDebugTypedef = 7 , 28DebugInfoDebugTypeFunction = 8 , 29DebugInfoDebugTypeEnum = 9 , 30DebugInfoDebugTypeComposite = 10 , 31DebugInfoDebugTypeMember = 11 , 32DebugInfoDebugTypeInheritance = 12 , 33DebugInfoDebugTypePtrToMember = 13 , 34DebugInfoDebugTypeTemplate = 14 , 35DebugInfoDebugTypeTemplateParameter = 15 , 36DebugInfoDebugTypeTemplateTemplateParameter = 16 , 37DebugInfoDebugTypeTemplateParameterPack = 17 , 38DebugInfoDebugGlobalVariable = 18 , 39DebugInfoDebugFunctionDeclaration = 19 , 40DebugInfoDebugFunction = 20 , 41DebugInfoDebugLexicalBlock = 21 , 42DebugInfoDebugLexicalBlockDiscriminator = 22 , 43DebugInfoDebugScope = 23 , 44DebugInfoDebugNoScope = 24 , 45DebugInfoDebugInlinedAt = 25 , 46DebugInfoDebugLocalVariable = 26 , 47DebugInfoDebugInlinedVariable = 27 , 48DebugInfoDebugDeclare = 28 , 49DebugInfoDebugValue = 29 , 50DebugInfoDebugOperation = 30 , 51DebugInfoDebugExpression = 31 , 52DebugInfoDebugMacroDef = 32 , 53DebugInfoDebugMacroUndef = 33 , 54DebugInfoInstructionsMax = 0x7ffffff 55}; 56 57 58enum DebugInfoDebugInfoFlags { 59DebugInfoNone = 0x0000 , 60DebugInfoFlagIsProtected = 0x01 , 61DebugInfoFlagIsPrivate = 0x02 , 62DebugInfoFlagIsPublic = 0x03 , 63DebugInfoFlagIsLocal = 0x04 , 64DebugInfoFlagIsDefinition = 0x08 , 65DebugInfoFlagFwdDecl = 0x10 , 66DebugInfoFlagArtificial = 0x20 , 67DebugInfoFlagExplicit = 0x40 , 68DebugInfoFlagPrototyped = 0x80 , 69DebugInfoFlagObjectPointer = 0x100 , 70DebugInfoFlagStaticMember = 0x200 , 71DebugInfoFlagIndirectVariable = 0x400 , 72DebugInfoFlagLValueReference = 0x800 , 73DebugInfoFlagRValueReference = 0x1000 , 74DebugInfoFlagIsOptimized = 0x2000 , 75DebugInfoDebugInfoFlagsMax = 0x7ffffff 76}; 77 78enum DebugInfoDebugBaseTypeAttributeEncoding { 79DebugInfoUnspecified = 0 , 80DebugInfoAddress = 1 , 81DebugInfoBoolean = 2 , 82DebugInfoFloat = 4 , 83DebugInfoSigned = 5 , 84DebugInfoSignedChar = 6 , 85DebugInfoUnsigned = 7 , 86DebugInfoUnsignedChar = 8 , 87DebugInfoDebugBaseTypeAttributeEncodingMax = 0x7ffffff 88}; 89 90enum DebugInfoDebugCompositeType { 91DebugInfoClass = 0 , 92DebugInfoStructure = 1 , 93DebugInfoUnion = 2 , 94DebugInfoDebugCompositeTypeMax = 0x7ffffff 95}; 96 97enum DebugInfoDebugTypeQualifier { 98DebugInfoConstType = 0 , 99DebugInfoVolatileType = 1 , 100DebugInfoRestrictType = 2 , 101DebugInfoDebugTypeQualifierMax = 0x7ffffff 102}; 103 104enum DebugInfoDebugOperation { 105DebugInfoDeref = 0 , 106DebugInfoPlus = 1 , 107DebugInfoMinus = 2 , 108DebugInfoPlusUconst = 3 , 109DebugInfoBitPiece = 4 , 110DebugInfoSwap = 5 , 111DebugInfoXderef = 6 , 112DebugInfoStackValue = 7 , 113DebugInfoConstu = 8 , 114DebugInfoDebugOperationMax = 0x7ffffff 115}; 116 117 118#ifdef __cplusplus 119} 120#endif 121 122#endif // SPIRV_EXTINST_DebugInfo_H_