NonSemanticShaderDebugInfo100.h 7.7 KB

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