yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Harsh Aggarwal (NVIDIA)Update SPIRV-Tools and SPIRV-Headers to latest versions (#8565)4d241f2cc

master
6.7 KiB149 linesraw
1// Copyright: 2018-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_NonSemanticShaderDebugInfo100_H_
10#define SPIRV_EXTINST_NonSemanticShaderDebugInfo100_H_
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16enum { NonSemanticShaderDebugInfo100Version = 100, NonSemanticShaderDebugInfo100Version_BitWidthPadding = 0x7fffffff };
17enum { NonSemanticShaderDebugInfo100Revision = 6, NonSemanticShaderDebugInfo100Revision_BitWidthPadding = 0x7fffffff };
18
19enum NonSemanticShaderDebugInfo100Instructions {
20    NonSemanticShaderDebugInfo100DebugInfoNone = 0,
21    NonSemanticShaderDebugInfo100DebugCompilationUnit = 1,
22    NonSemanticShaderDebugInfo100DebugTypeBasic = 2,
23    NonSemanticShaderDebugInfo100DebugTypePointer = 3,
24    NonSemanticShaderDebugInfo100DebugTypeQualifier = 4,
25    NonSemanticShaderDebugInfo100DebugTypeArray = 5,
26    NonSemanticShaderDebugInfo100DebugTypeVector = 6,
27    NonSemanticShaderDebugInfo100DebugTypedef = 7,
28    NonSemanticShaderDebugInfo100DebugTypeFunction = 8,
29    NonSemanticShaderDebugInfo100DebugTypeEnum = 9,
30    NonSemanticShaderDebugInfo100DebugTypeComposite = 10,
31    NonSemanticShaderDebugInfo100DebugTypeMember = 11,
32    NonSemanticShaderDebugInfo100DebugTypeInheritance = 12,
33    NonSemanticShaderDebugInfo100DebugTypePtrToMember = 13,
34    NonSemanticShaderDebugInfo100DebugTypeTemplate = 14,
35    NonSemanticShaderDebugInfo100DebugTypeTemplateParameter = 15,
36    NonSemanticShaderDebugInfo100DebugTypeTemplateTemplateParameter = 16,
37    NonSemanticShaderDebugInfo100DebugTypeTemplateParameterPack = 17,
38    NonSemanticShaderDebugInfo100DebugGlobalVariable = 18,
39    NonSemanticShaderDebugInfo100DebugFunctionDeclaration = 19,
40    NonSemanticShaderDebugInfo100DebugFunction = 20,
41    NonSemanticShaderDebugInfo100DebugLexicalBlock = 21,
42    NonSemanticShaderDebugInfo100DebugLexicalBlockDiscriminator = 22,
43    NonSemanticShaderDebugInfo100DebugScope = 23,
44    NonSemanticShaderDebugInfo100DebugNoScope = 24,
45    NonSemanticShaderDebugInfo100DebugInlinedAt = 25,
46    NonSemanticShaderDebugInfo100DebugLocalVariable = 26,
47    NonSemanticShaderDebugInfo100DebugInlinedVariable = 27,
48    NonSemanticShaderDebugInfo100DebugDeclare = 28,
49    NonSemanticShaderDebugInfo100DebugValue = 29,
50    NonSemanticShaderDebugInfo100DebugOperation = 30,
51    NonSemanticShaderDebugInfo100DebugExpression = 31,
52    NonSemanticShaderDebugInfo100DebugMacroDef = 32,
53    NonSemanticShaderDebugInfo100DebugMacroUndef = 33,
54    NonSemanticShaderDebugInfo100DebugImportedEntity = 34,
55    NonSemanticShaderDebugInfo100DebugSource = 35,
56    NonSemanticShaderDebugInfo100DebugFunctionDefinition = 101,
57    NonSemanticShaderDebugInfo100DebugSourceContinued = 102,
58    NonSemanticShaderDebugInfo100DebugLine = 103,
59    NonSemanticShaderDebugInfo100DebugNoLine = 104,
60    NonSemanticShaderDebugInfo100DebugBuildIdentifier = 105,
61    NonSemanticShaderDebugInfo100DebugStoragePath = 106,
62    NonSemanticShaderDebugInfo100DebugEntryPoint = 107,
63    NonSemanticShaderDebugInfo100DebugTypeMatrix = 108,
64    NonSemanticShaderDebugInfo100InstructionsMax = 0x7ffffff
65};
66
67
68enum NonSemanticShaderDebugInfo100DebugInfoFlags {
69    NonSemanticShaderDebugInfo100None = 0x0000,
70    NonSemanticShaderDebugInfo100FlagIsProtected = 0x01,
71    NonSemanticShaderDebugInfo100FlagIsPrivate = 0x02,
72    NonSemanticShaderDebugInfo100FlagIsPublic = 0x03,
73    NonSemanticShaderDebugInfo100FlagIsLocal = 0x04,
74    NonSemanticShaderDebugInfo100FlagIsDefinition = 0x08,
75    NonSemanticShaderDebugInfo100FlagFwdDecl = 0x10,
76    NonSemanticShaderDebugInfo100FlagArtificial = 0x20,
77    NonSemanticShaderDebugInfo100FlagExplicit = 0x40,
78    NonSemanticShaderDebugInfo100FlagPrototyped = 0x80,
79    NonSemanticShaderDebugInfo100FlagObjectPointer = 0x100,
80    NonSemanticShaderDebugInfo100FlagStaticMember = 0x200,
81    NonSemanticShaderDebugInfo100FlagIndirectVariable = 0x400,
82    NonSemanticShaderDebugInfo100FlagLValueReference = 0x800,
83    NonSemanticShaderDebugInfo100FlagRValueReference = 0x1000,
84    NonSemanticShaderDebugInfo100FlagIsOptimized = 0x2000,
85    NonSemanticShaderDebugInfo100FlagIsEnumClass = 0x4000,
86    NonSemanticShaderDebugInfo100FlagTypePassByValue = 0x8000,
87    NonSemanticShaderDebugInfo100FlagTypePassByReference = 0x10000,
88    NonSemanticShaderDebugInfo100FlagUnknownPhysicalLayout = 0x20000,
89    NonSemanticShaderDebugInfo100DebugInfoFlagsMax = 0x7ffffff
90};
91
92enum NonSemanticShaderDebugInfo100BuildIdentifierFlags {
93    NonSemanticShaderDebugInfo100IdentifierPossibleDuplicates = 0x01,
94    NonSemanticShaderDebugInfo100BuildIdentifierFlagsMax = 0x7ffffff
95};
96
97enum NonSemanticShaderDebugInfo100DebugBaseTypeAttributeEncoding {
98    NonSemanticShaderDebugInfo100Unspecified = 0,
99    NonSemanticShaderDebugInfo100Address = 1,
100    NonSemanticShaderDebugInfo100Boolean = 2,
101    NonSemanticShaderDebugInfo100Float = 3,
102    NonSemanticShaderDebugInfo100Signed = 4,
103    NonSemanticShaderDebugInfo100SignedChar = 5,
104    NonSemanticShaderDebugInfo100Unsigned = 6,
105    NonSemanticShaderDebugInfo100UnsignedChar = 7,
106    NonSemanticShaderDebugInfo100DebugBaseTypeAttributeEncodingMax = 0x7ffffff
107};
108
109enum NonSemanticShaderDebugInfo100DebugCompositeType {
110    NonSemanticShaderDebugInfo100Class = 0,
111    NonSemanticShaderDebugInfo100Structure = 1,
112    NonSemanticShaderDebugInfo100Union = 2,
113    NonSemanticShaderDebugInfo100DebugCompositeTypeMax = 0x7ffffff
114};
115
116enum NonSemanticShaderDebugInfo100DebugTypeQualifier {
117    NonSemanticShaderDebugInfo100ConstType = 0,
118    NonSemanticShaderDebugInfo100VolatileType = 1,
119    NonSemanticShaderDebugInfo100RestrictType = 2,
120    NonSemanticShaderDebugInfo100AtomicType = 3,
121    NonSemanticShaderDebugInfo100DebugTypeQualifierMax = 0x7ffffff
122};
123
124enum NonSemanticShaderDebugInfo100DebugOperation {
125    NonSemanticShaderDebugInfo100Deref = 0,
126    NonSemanticShaderDebugInfo100Plus = 1,
127    NonSemanticShaderDebugInfo100Minus = 2,
128    NonSemanticShaderDebugInfo100PlusUconst = 3,
129    NonSemanticShaderDebugInfo100BitPiece = 4,
130    NonSemanticShaderDebugInfo100Swap = 5,
131    NonSemanticShaderDebugInfo100Xderef = 6,
132    NonSemanticShaderDebugInfo100StackValue = 7,
133    NonSemanticShaderDebugInfo100Constu = 8,
134    NonSemanticShaderDebugInfo100Fragment = 9,
135    NonSemanticShaderDebugInfo100DebugOperationMax = 0x7ffffff
136};
137
138enum NonSemanticShaderDebugInfo100DebugImportedEntity {
139    NonSemanticShaderDebugInfo100ImportedModule = 0,
140    NonSemanticShaderDebugInfo100ImportedDeclaration = 1,
141    NonSemanticShaderDebugInfo100DebugImportedEntityMax = 0x7ffffff
142};
143
144
145#ifdef __cplusplus
146}
147#endif
148
149#endif // SPIRV_EXTINST_NonSemanticShaderDebugInfo100_H_