NonSemanticShaderDebugInfo100.h 6.7 KB

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