yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
4ede04ac
main
1// Copyright (c) 2018 The Khronos Group Inc. 2// 3// Permission is hereby granted, free of charge, to any person obtaining a copy 4// of this software and/or associated documentation files (the "Materials"), 5// to deal in the Materials without restriction, including without limitation 6// the rights to use, copy, modify, merge, publish, distribute, sublicense, 7// and/or sell copies of the Materials, and to permit persons to whom the 8// Materials are furnished to do so, subject to the following conditions: 9// 10// The above copyright notice and this permission notice shall be included in 11// all copies or substantial portions of the Materials. 12// 13// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS 14// STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND 15// HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ 16// 17// THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22// FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS 23// IN THE MATERIALS. 24 25#ifndef SPIRV_UNIFIED1_NonSemanticShaderDebugInfo_H_ 26#define SPIRV_UNIFIED1_NonSemanticShaderDebugInfo_H_ 27 28#ifdef __cplusplus 29extern "C" { 30#endif 31 32enum { 33NonSemanticShaderDebugInfoVersion = 102 , 34NonSemanticShaderDebugInfoVersion_BitWidthPadding = 0x7fffffff 35}; 36enum { 37NonSemanticShaderDebugInfoRevision = 1 , 38NonSemanticShaderDebugInfoRevision_BitWidthPadding = 0x7fffffff 39}; 40 41enum NonSemanticShaderDebugInfoInstructions { 42NonSemanticShaderDebugInfoDebugInfoNone = 0 , 43NonSemanticShaderDebugInfoDebugCompilationUnit = 1 , 44NonSemanticShaderDebugInfoDebugTypeBasic = 2 , 45NonSemanticShaderDebugInfoDebugTypePointer = 3 , 46NonSemanticShaderDebugInfoDebugTypeQualifier = 4 , 47NonSemanticShaderDebugInfoDebugTypeArray = 5 , 48NonSemanticShaderDebugInfoDebugTypeVector = 6 , 49NonSemanticShaderDebugInfoDebugTypedef = 7 , 50NonSemanticShaderDebugInfoDebugTypeFunction = 8 , 51NonSemanticShaderDebugInfoDebugTypeEnum = 9 , 52NonSemanticShaderDebugInfoDebugTypeComposite = 10 , 53NonSemanticShaderDebugInfoDebugTypeMember = 11 , 54NonSemanticShaderDebugInfoDebugTypeInheritance = 12 , 55NonSemanticShaderDebugInfoDebugTypePtrToMember = 13 , 56NonSemanticShaderDebugInfoDebugTypeTemplate = 14 , 57NonSemanticShaderDebugInfoDebugTypeTemplateParameter = 15 , 58NonSemanticShaderDebugInfoDebugTypeTemplateTemplateParameter = 16 , 59NonSemanticShaderDebugInfoDebugTypeTemplateParameterPack = 17 , 60NonSemanticShaderDebugInfoDebugGlobalVariable = 18 , 61NonSemanticShaderDebugInfoDebugFunctionDeclaration = 19 , 62NonSemanticShaderDebugInfoDebugFunction = 20 , 63NonSemanticShaderDebugInfoDebugLexicalBlock = 21 , 64NonSemanticShaderDebugInfoDebugLexicalBlockDiscriminator = 22 , 65NonSemanticShaderDebugInfoDebugScope = 23 , 66NonSemanticShaderDebugInfoDebugNoScope = 24 , 67NonSemanticShaderDebugInfoDebugInlinedAt = 25 , 68NonSemanticShaderDebugInfoDebugLocalVariable = 26 , 69NonSemanticShaderDebugInfoDebugInlinedVariable = 27 , 70NonSemanticShaderDebugInfoDebugDeclare = 28 , 71NonSemanticShaderDebugInfoDebugValue = 29 , 72NonSemanticShaderDebugInfoDebugOperation = 30 , 73NonSemanticShaderDebugInfoDebugExpression = 31 , 74NonSemanticShaderDebugInfoDebugMacroDef = 32 , 75NonSemanticShaderDebugInfoDebugMacroUndef = 33 , 76NonSemanticShaderDebugInfoDebugImportedEntity = 34 , 77NonSemanticShaderDebugInfoDebugSource = 35 , 78NonSemanticShaderDebugInfoDebugFunctionDefinition = 101 , 79NonSemanticShaderDebugInfoDebugSourceContinued = 102 , 80NonSemanticShaderDebugInfoDebugLine = 103 , 81NonSemanticShaderDebugInfoDebugNoLine = 104 , 82NonSemanticShaderDebugInfoDebugBuildIdentifier = 105 , 83NonSemanticShaderDebugInfoDebugStoragePath = 106 , 84NonSemanticShaderDebugInfoDebugEntryPoint = 107 , 85NonSemanticShaderDebugInfoDebugTypeMatrix = 108 , 86NonSemanticShaderDebugInfoDebugTypeVectorIdEXT = 109 , 87NonSemanticShaderDebugInfoDebugTypeCooperativeMatrixKHR = 110 , 88NonSemanticShaderDebugInfoInstructionsMax = 0x7fffffff 89}; 90 91 92enum NonSemanticShaderDebugInfoDebugInfoFlags { 93NonSemanticShaderDebugInfoNone = 0x0000 , 94NonSemanticShaderDebugInfoFlagIsProtected = 0x01 , 95NonSemanticShaderDebugInfoFlagIsPrivate = 0x02 , 96NonSemanticShaderDebugInfoFlagIsPublic = 0x03 , 97NonSemanticShaderDebugInfoFlagIsLocal = 0x04 , 98NonSemanticShaderDebugInfoFlagIsDefinition = 0x08 , 99NonSemanticShaderDebugInfoFlagFwdDecl = 0x10 , 100NonSemanticShaderDebugInfoFlagArtificial = 0x20 , 101NonSemanticShaderDebugInfoFlagExplicit = 0x40 , 102NonSemanticShaderDebugInfoFlagPrototyped = 0x80 , 103NonSemanticShaderDebugInfoFlagObjectPointer = 0x100 , 104NonSemanticShaderDebugInfoFlagStaticMember = 0x200 , 105NonSemanticShaderDebugInfoFlagIndirectVariable = 0x400 , 106NonSemanticShaderDebugInfoFlagLValueReference = 0x800 , 107NonSemanticShaderDebugInfoFlagRValueReference = 0x1000 , 108NonSemanticShaderDebugInfoFlagIsOptimized = 0x2000 , 109NonSemanticShaderDebugInfoFlagIsEnumClass = 0x4000 , 110NonSemanticShaderDebugInfoFlagTypePassByValue = 0x8000 , 111NonSemanticShaderDebugInfoFlagTypePassByReference = 0x10000 , 112NonSemanticShaderDebugInfoFlagUnknownPhysicalLayout = 0x20000 , 113NonSemanticShaderDebugInfoDebugInfoFlagsMax = 0x7fffffff 114}; 115 116enum NonSemanticShaderDebugInfoBuildIdentifierFlags { 117NonSemanticShaderDebugInfoIdentifierPossibleDuplicates = 0x01 , 118NonSemanticShaderDebugInfoBuildIdentifierFlagsMax = 0x7fffffff 119}; 120 121enum NonSemanticShaderDebugInfoDebugBaseTypeAttributeEncoding { 122NonSemanticShaderDebugInfoUnspecified = 0 , 123NonSemanticShaderDebugInfoAddress = 1 , 124NonSemanticShaderDebugInfoBoolean = 2 , 125NonSemanticShaderDebugInfoFloat = 3 , 126NonSemanticShaderDebugInfoSigned = 4 , 127NonSemanticShaderDebugInfoSignedChar = 5 , 128NonSemanticShaderDebugInfoUnsigned = 6 , 129NonSemanticShaderDebugInfoUnsignedChar = 7 , 130NonSemanticShaderDebugInfoDebugBaseTypeAttributeEncodingMax = 0x7fffffff 131}; 132 133enum NonSemanticShaderDebugInfoDebugCompositeType { 134NonSemanticShaderDebugInfoClass = 0 , 135NonSemanticShaderDebugInfoStructure = 1 , 136NonSemanticShaderDebugInfoUnion = 2 , 137NonSemanticShaderDebugInfoDebugCompositeTypeMax = 0x7fffffff 138}; 139 140enum NonSemanticShaderDebugInfoDebugTypeQualifier { 141NonSemanticShaderDebugInfoConstType = 0 , 142NonSemanticShaderDebugInfoVolatileType = 1 , 143NonSemanticShaderDebugInfoRestrictType = 2 , 144NonSemanticShaderDebugInfoAtomicType = 3 , 145NonSemanticShaderDebugInfoDebugTypeQualifierMax = 0x7fffffff 146}; 147 148enum NonSemanticShaderDebugInfoDebugOperation { 149NonSemanticShaderDebugInfoDeref = 0 , 150NonSemanticShaderDebugInfoPlus = 1 , 151NonSemanticShaderDebugInfoMinus = 2 , 152NonSemanticShaderDebugInfoPlusUconst = 3 , 153NonSemanticShaderDebugInfoBitPiece = 4 , 154NonSemanticShaderDebugInfoSwap = 5 , 155NonSemanticShaderDebugInfoXderef = 6 , 156NonSemanticShaderDebugInfoStackValue = 7 , 157NonSemanticShaderDebugInfoConstu = 8 , 158NonSemanticShaderDebugInfoFragment = 9 , 159NonSemanticShaderDebugInfoDebugOperationMax = 0x7fffffff 160}; 161 162enum NonSemanticShaderDebugInfoDebugImportedEntity { 163NonSemanticShaderDebugInfoImportedModule = 0 , 164NonSemanticShaderDebugInfoImportedDeclaration = 1 , 165NonSemanticShaderDebugInfoDebugImportedEntityMax = 0x7fffffff 166}; 167 168 169#ifdef __cplusplus 170} 171#endif 172 173#endif // SPIRV_UNIFIED1_NonSemanticShaderDebugInfo_H_