diff options
| author | jarcherNV <jarcher@nvidia.com> | 2025-06-05 13:03:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-05 13:03:34 -0700 |
| commit | 9b6e9de8f188222788fed0b1a36522ed33ab7f14 (patch) | |
| tree | d4a08ad68e420a3b597979509a2a74d1559f9112 /external/spirv-tools-generated/DebugInfo.h | |
| parent | ca0bdd238f29f2fd17ae44eec913bd6c82e0c1fe (diff) | |
Update spirv-tools to point at 7dda3c01f (#7352)
Update spirv-tools to take the DebugBuildIdentifier changes. These are
needed for upcoming separate debug spirv output.
Additionally update spirv-headers to fd966619.
Diffstat (limited to 'external/spirv-tools-generated/DebugInfo.h')
| -rw-r--r-- | external/spirv-tools-generated/DebugInfo.h | 258 |
1 files changed, 121 insertions, 137 deletions
diff --git a/external/spirv-tools-generated/DebugInfo.h b/external/spirv-tools-generated/DebugInfo.h index a37e3a947..943b628fa 100644 --- a/external/spirv-tools-generated/DebugInfo.h +++ b/external/spirv-tools-generated/DebugInfo.h @@ -1,138 +1,122 @@ -// Copyright (c) 2017-2024 The Khronos Group Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and/or associated documentation files (the "Materials"), -// to deal in the Materials without restriction, including without limitation -// the rights to use, copy, modify, merge, publish, distribute, sublicense, -// and/or sell copies of the Materials, and to permit persons to whom the -// Materials are furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Materials. -// -// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS -// STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND -// HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ -// -// THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS -// IN THE MATERIALS. - -#ifndef SPIRV_EXTINST_DebugInfo_H_ -#define SPIRV_EXTINST_DebugInfo_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -enum { DebugInfoVersion = 100, DebugInfoVersion_BitWidthPadding = 0x7fffffff }; -enum { DebugInfoRevision = 1, DebugInfoRevision_BitWidthPadding = 0x7fffffff }; - -enum DebugInfoInstructions { - DebugInfoDebugInfoNone = 0, - DebugInfoDebugCompilationUnit = 1, - DebugInfoDebugTypeBasic = 2, - DebugInfoDebugTypePointer = 3, - DebugInfoDebugTypeQualifier = 4, - DebugInfoDebugTypeArray = 5, - DebugInfoDebugTypeVector = 6, - DebugInfoDebugTypedef = 7, - DebugInfoDebugTypeFunction = 8, - DebugInfoDebugTypeEnum = 9, - DebugInfoDebugTypeComposite = 10, - DebugInfoDebugTypeMember = 11, - DebugInfoDebugTypeInheritance = 12, - DebugInfoDebugTypePtrToMember = 13, - DebugInfoDebugTypeTemplate = 14, - DebugInfoDebugTypeTemplateParameter = 15, - DebugInfoDebugTypeTemplateTemplateParameter = 16, - DebugInfoDebugTypeTemplateParameterPack = 17, - DebugInfoDebugGlobalVariable = 18, - DebugInfoDebugFunctionDeclaration = 19, - DebugInfoDebugFunction = 20, - DebugInfoDebugLexicalBlock = 21, - DebugInfoDebugLexicalBlockDiscriminator = 22, - DebugInfoDebugScope = 23, - DebugInfoDebugNoScope = 24, - DebugInfoDebugInlinedAt = 25, - DebugInfoDebugLocalVariable = 26, - DebugInfoDebugInlinedVariable = 27, - DebugInfoDebugDeclare = 28, - DebugInfoDebugValue = 29, - DebugInfoDebugOperation = 30, - DebugInfoDebugExpression = 31, - DebugInfoDebugMacroDef = 32, - DebugInfoDebugMacroUndef = 33, - DebugInfoInstructionsMax = 0x7ffffff -}; - - -enum DebugInfoDebugInfoFlags { - DebugInfoNone = 0x0000, - DebugInfoFlagIsProtected = 0x01, - DebugInfoFlagIsPrivate = 0x02, - DebugInfoFlagIsPublic = 0x03, - DebugInfoFlagIsLocal = 0x04, - DebugInfoFlagIsDefinition = 0x08, - DebugInfoFlagFwdDecl = 0x10, - DebugInfoFlagArtificial = 0x20, - DebugInfoFlagExplicit = 0x40, - DebugInfoFlagPrototyped = 0x80, - DebugInfoFlagObjectPointer = 0x100, - DebugInfoFlagStaticMember = 0x200, - DebugInfoFlagIndirectVariable = 0x400, - DebugInfoFlagLValueReference = 0x800, - DebugInfoFlagRValueReference = 0x1000, - DebugInfoFlagIsOptimized = 0x2000, - DebugInfoDebugInfoFlagsMax = 0x7ffffff -}; - -enum DebugInfoDebugBaseTypeAttributeEncoding { - DebugInfoUnspecified = 0, - DebugInfoAddress = 1, - DebugInfoBoolean = 2, - DebugInfoFloat = 4, - DebugInfoSigned = 5, - DebugInfoSignedChar = 6, - DebugInfoUnsigned = 7, - DebugInfoUnsignedChar = 8, - DebugInfoDebugBaseTypeAttributeEncodingMax = 0x7ffffff -}; - -enum DebugInfoDebugCompositeType { - DebugInfoClass = 0, - DebugInfoStructure = 1, - DebugInfoUnion = 2, - DebugInfoDebugCompositeTypeMax = 0x7ffffff -}; - -enum DebugInfoDebugTypeQualifier { - DebugInfoConstType = 0, - DebugInfoVolatileType = 1, - DebugInfoRestrictType = 2, - DebugInfoDebugTypeQualifierMax = 0x7ffffff -}; - -enum DebugInfoDebugOperation { - DebugInfoDeref = 0, - DebugInfoPlus = 1, - DebugInfoMinus = 2, - DebugInfoPlusUconst = 3, - DebugInfoBitPiece = 4, - DebugInfoSwap = 5, - DebugInfoXderef = 6, - DebugInfoStackValue = 7, - DebugInfoConstu = 8, - DebugInfoDebugOperationMax = 0x7ffffff -}; - - -#ifdef __cplusplus -} -#endif - +// Copyright: 2017-2024 The Khronos Group Inc.
+// License: MIT
+//
+// MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
+// STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
+// HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
+//
+
+#ifndef SPIRV_EXTINST_DebugInfo_H_
+#define SPIRV_EXTINST_DebugInfo_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+enum { DebugInfoVersion = 100, DebugInfoVersion_BitWidthPadding = 0x7fffffff };
+enum { DebugInfoRevision = 1, DebugInfoRevision_BitWidthPadding = 0x7fffffff };
+
+enum DebugInfoInstructions {
+ DebugInfoDebugInfoNone = 0,
+ DebugInfoDebugCompilationUnit = 1,
+ DebugInfoDebugTypeBasic = 2,
+ DebugInfoDebugTypePointer = 3,
+ DebugInfoDebugTypeQualifier = 4,
+ DebugInfoDebugTypeArray = 5,
+ DebugInfoDebugTypeVector = 6,
+ DebugInfoDebugTypedef = 7,
+ DebugInfoDebugTypeFunction = 8,
+ DebugInfoDebugTypeEnum = 9,
+ DebugInfoDebugTypeComposite = 10,
+ DebugInfoDebugTypeMember = 11,
+ DebugInfoDebugTypeInheritance = 12,
+ DebugInfoDebugTypePtrToMember = 13,
+ DebugInfoDebugTypeTemplate = 14,
+ DebugInfoDebugTypeTemplateParameter = 15,
+ DebugInfoDebugTypeTemplateTemplateParameter = 16,
+ DebugInfoDebugTypeTemplateParameterPack = 17,
+ DebugInfoDebugGlobalVariable = 18,
+ DebugInfoDebugFunctionDeclaration = 19,
+ DebugInfoDebugFunction = 20,
+ DebugInfoDebugLexicalBlock = 21,
+ DebugInfoDebugLexicalBlockDiscriminator = 22,
+ DebugInfoDebugScope = 23,
+ DebugInfoDebugNoScope = 24,
+ DebugInfoDebugInlinedAt = 25,
+ DebugInfoDebugLocalVariable = 26,
+ DebugInfoDebugInlinedVariable = 27,
+ DebugInfoDebugDeclare = 28,
+ DebugInfoDebugValue = 29,
+ DebugInfoDebugOperation = 30,
+ DebugInfoDebugExpression = 31,
+ DebugInfoDebugMacroDef = 32,
+ DebugInfoDebugMacroUndef = 33,
+ DebugInfoInstructionsMax = 0x7ffffff
+};
+
+
+enum DebugInfoDebugInfoFlags {
+ DebugInfoNone = 0x0000,
+ DebugInfoFlagIsProtected = 0x01,
+ DebugInfoFlagIsPrivate = 0x02,
+ DebugInfoFlagIsPublic = 0x03,
+ DebugInfoFlagIsLocal = 0x04,
+ DebugInfoFlagIsDefinition = 0x08,
+ DebugInfoFlagFwdDecl = 0x10,
+ DebugInfoFlagArtificial = 0x20,
+ DebugInfoFlagExplicit = 0x40,
+ DebugInfoFlagPrototyped = 0x80,
+ DebugInfoFlagObjectPointer = 0x100,
+ DebugInfoFlagStaticMember = 0x200,
+ DebugInfoFlagIndirectVariable = 0x400,
+ DebugInfoFlagLValueReference = 0x800,
+ DebugInfoFlagRValueReference = 0x1000,
+ DebugInfoFlagIsOptimized = 0x2000,
+ DebugInfoDebugInfoFlagsMax = 0x7ffffff
+};
+
+enum DebugInfoDebugBaseTypeAttributeEncoding {
+ DebugInfoUnspecified = 0,
+ DebugInfoAddress = 1,
+ DebugInfoBoolean = 2,
+ DebugInfoFloat = 4,
+ DebugInfoSigned = 5,
+ DebugInfoSignedChar = 6,
+ DebugInfoUnsigned = 7,
+ DebugInfoUnsignedChar = 8,
+ DebugInfoDebugBaseTypeAttributeEncodingMax = 0x7ffffff
+};
+
+enum DebugInfoDebugCompositeType {
+ DebugInfoClass = 0,
+ DebugInfoStructure = 1,
+ DebugInfoUnion = 2,
+ DebugInfoDebugCompositeTypeMax = 0x7ffffff
+};
+
+enum DebugInfoDebugTypeQualifier {
+ DebugInfoConstType = 0,
+ DebugInfoVolatileType = 1,
+ DebugInfoRestrictType = 2,
+ DebugInfoDebugTypeQualifierMax = 0x7ffffff
+};
+
+enum DebugInfoDebugOperation {
+ DebugInfoDeref = 0,
+ DebugInfoPlus = 1,
+ DebugInfoMinus = 2,
+ DebugInfoPlusUconst = 3,
+ DebugInfoBitPiece = 4,
+ DebugInfoSwap = 5,
+ DebugInfoXderef = 6,
+ DebugInfoStackValue = 7,
+ DebugInfoConstu = 8,
+ DebugInfoDebugOperationMax = 0x7ffffff
+};
+
+
+#ifdef __cplusplus
+}
+#endif
+
#endif // SPIRV_EXTINST_DebugInfo_H_
\ No newline at end of file |
