spv.debuginfo.rt_ext_builtins.glsl.rahit // Module Version 10600 // Generated by (magic number): 8000b // Id's are bound by 232 Capability RayTracingKHR Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_ray_tracing" 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 3: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint AnyHitKHR 14 "main" 32 52 62 79 89 99 115 125 135 145 159 169 192 212 222 2: String "spv.debuginfo.rt_ext_builtins.glsl.rahit" 8: String "uint" 16: String "main" 19: String "#version 460 #extension GL_EXT_ray_tracing : enable layout(location = 1) rayPayloadInEXT vec4 incomingPayload; void main() { uvec3 v0 = gl_LaunchIDEXT; uvec3 v1 = gl_LaunchSizeEXT; int v2 = gl_PrimitiveID; int v3 = gl_InstanceID; int v4 = gl_InstanceCustomIndexEXT; vec3 v5 = gl_WorldRayOriginEXT; vec3 v6 = gl_WorldRayDirectionEXT; vec3 v7 = gl_ObjectRayOriginEXT; vec3 v8 = gl_ObjectRayDirectionEXT; float v9 = gl_RayTminEXT; float v10 = gl_RayTmaxEXT; float v11 = gl_HitTEXT; uint v12 = gl_HitKindEXT; mat4x3 v13 = gl_ObjectToWorldEXT; mat4x3 v14 = gl_WorldToObjectEXT; incomingPayload = vec4(0.5f); }" 25: String "float" 34: String "incomingPayload" 46: String "v0" 54: String "gl_LaunchIDEXT" 58: String "v1" 64: String "gl_LaunchSizeEXT" 67: String "int" 73: String "v2" 81: String "gl_PrimitiveID" 85: String "v3" 91: String "gl_InstanceID" 95: String "v4" 101: String "gl_InstanceCustomIndexEXT" 109: String "v5" 117: String "gl_WorldRayOriginEXT" 121: String "v6" 127: String "gl_WorldRayDirectionEXT" 131: String "v7" 137: String "gl_ObjectRayOriginEXT" 141: String "v8" 147: String "gl_ObjectRayDirectionEXT" 153: String "v9" 161: String "gl_RayTminEXT" 165: String "v10" 171: String "gl_RayTmaxEXT" 173: String "gl_HitTEXT" 177: String "v11" 186: String "v12" 194: String "gl_HitKindEXT" 199: String "bool" 206: String "v13" 214: String "gl_ObjectToWorldEXT" 218: String "v14" 224: String "gl_WorldToObjectEXT" SourceExtension "GL_EXT_ray_tracing" Name 14 "main" Name 32 "incomingPayload" Name 44 "v0" Name 52 "gl_LaunchIDEXT" Name 56 "v1" Name 62 "gl_LaunchSizeEXT" Name 71 "v2" Name 79 "gl_PrimitiveID" Name 83 "v3" Name 89 "gl_InstanceID" Name 93 "v4" Name 99 "gl_InstanceCustomIndexEXT" Name 107 "v5" Name 115 "gl_WorldRayOriginEXT" Name 119 "v6" Name 125 "gl_WorldRayDirectionEXT" Name 129 "v7" Name 135 "gl_ObjectRayOriginEXT" Name 139 "v8" Name 145 "gl_ObjectRayDirectionEXT" Name 151 "v9" Name 159 "gl_RayTminEXT" Name 163 "v10" Name 169 "gl_RayTmaxEXT" Name 175 "v11" Name 184 "v12" Name 192 "gl_HitKindEXT" Name 204 "v13" Name 212 "gl_ObjectToWorldEXT" Name 216 "v14" Name 222 "gl_WorldToObjectEXT" ModuleProcessed "auto-map-locations" ModuleProcessed "auto-map-bindings" ModuleProcessed "client vulkan100" ModuleProcessed "target-env spirv1.6" ModuleProcessed "target-env vulkan1.4" ModuleProcessed "keep-uncalled" ModuleProcessed "entry-point main" Decorate 52(gl_LaunchIDEXT) BuiltIn LaunchIdKHR Decorate 62(gl_LaunchSizeEXT) BuiltIn LaunchSizeKHR Decorate 79(gl_PrimitiveID) BuiltIn PrimitiveId Decorate 89(gl_InstanceID) BuiltIn InstanceId Decorate 99(gl_InstanceCustomIndexEXT) BuiltIn InstanceCustomIndexKHR Decorate 115(gl_WorldRayOriginEXT) BuiltIn WorldRayOriginKHR Decorate 125(gl_WorldRayDirectionEXT) BuiltIn WorldRayDirectionKHR Decorate 135(gl_ObjectRayOriginEXT) BuiltIn ObjectRayOriginKHR Decorate 145(gl_ObjectRayDirectionEXT) BuiltIn ObjectRayDirectionKHR Decorate 159(gl_RayTminEXT) BuiltIn RayTminKHR Decorate 169(gl_RayTmaxEXT) BuiltIn RayTmaxKHR Decorate 192(gl_HitKindEXT) BuiltIn HitKindKHR Decorate 212(gl_ObjectToWorldEXT) BuiltIn ObjectToWorldKHR Decorate 222(gl_WorldToObjectEXT) BuiltIn WorldToObjectKHR 4: TypeVoid 5: TypeFunction 4 7: TypeInt 32 0 10: 7(int) Constant 32 11: 7(int) Constant 6 12: 7(int) Constant 0 9: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12 13: 7(int) Constant 3 6: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 18: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 19 21: 7(int) Constant 1 22: 7(int) Constant 4 23: 7(int) Constant 2 20: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 21 22 18 23 17: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 11 12 20 16 13 11 24: TypeFloat 32 26: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12 27: TypeVector 24(float) 4 28: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 22 29: TypePointer IncomingRayPayloadKHR 27(fvec4) 30: 7(int) Constant 5342 31: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 28 30 12 32(incomingPayload): 29(ptr) Variable IncomingRayPayloadKHR 35: 7(int) Constant 8 33: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 34 28 18 22 12 20 34 32(incomingPayload) 35 39: TypeVector 7(int) 3 40: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 9 13 41: TypePointer Function 39(ivec3) 42: 7(int) Constant 7 43: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 40 42 12 45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 40 18 35 12 17 22 48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 50: TypePointer Input 39(ivec3) 51: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 40 21 12 52(gl_LaunchIDEXT): 50(ptr) Variable Input 53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 40 18 35 12 20 54 52(gl_LaunchIDEXT) 35 59: 7(int) Constant 9 57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 58 40 18 59 12 17 22 62(gl_LaunchSizeEXT): 50(ptr) Variable Input 63: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 40 18 59 12 20 64 62(gl_LaunchSizeEXT) 35 66: TypeInt 32 1 68: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 67 10 22 12 69: TypePointer Function 66(int) 70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 68 42 12 74: 7(int) Constant 10 72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 73 68 18 74 12 17 22 77: TypePointer Input 66(int) 78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 68 21 12 79(gl_PrimitiveID): 77(ptr) Variable Input 80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 81 68 18 74 12 20 81 79(gl_PrimitiveID) 35 86: 7(int) Constant 11 84: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 85 68 18 86 12 17 22 89(gl_InstanceID): 77(ptr) Variable Input 90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 91 68 18 86 12 20 91 89(gl_InstanceID) 35 96: 7(int) Constant 12 94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 95 68 18 96 12 17 22 99(gl_InstanceCustomIndexEXT): 77(ptr) Variable Input 100: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 101 68 18 96 12 20 101 99(gl_InstanceCustomIndexEXT) 35 103: TypeVector 24(float) 3 104: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13 105: TypePointer Function 103(fvec3) 106: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 104 42 12 110: 7(int) Constant 13 108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 109 104 18 110 12 17 22 113: TypePointer Input 103(fvec3) 114: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 104 21 12 115(gl_WorldRayOriginEXT): 113(ptr) Variable Input 116: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 117 104 18 110 12 20 117 115(gl_WorldRayOriginEXT) 35 122: 7(int) Constant 14 120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 104 18 122 12 17 22 125(gl_WorldRayDirectionEXT): 113(ptr) Variable Input 126: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 127 104 18 122 12 20 127 125(gl_WorldRayDirectionEXT) 35 132: 7(int) Constant 15 130: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 131 104 18 132 12 17 22 135(gl_ObjectRayOriginEXT): 113(ptr) Variable Input 136: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 137 104 18 132 12 20 137 135(gl_ObjectRayOriginEXT) 35 142: 7(int) Constant 16 140: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 141 104 18 142 12 17 22 145(gl_ObjectRayDirectionEXT): 113(ptr) Variable Input 146: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 147 104 18 142 12 20 147 145(gl_ObjectRayDirectionEXT) 35 149: TypePointer Function 24(float) 150: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 26 42 12 154: 7(int) Constant 17 152: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 153 26 18 154 12 17 22 157: TypePointer Input 24(float) 158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 26 21 12 159(gl_RayTminEXT): 157(ptr) Variable Input 160: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 161 26 18 154 12 20 161 159(gl_RayTminEXT) 35 166: 7(int) Constant 18 164: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 165 26 18 166 12 17 22 169(gl_RayTmaxEXT): 157(ptr) Variable Input 170: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 171 26 18 166 12 20 171 169(gl_RayTmaxEXT) 35 172: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 173 26 18 166 12 20 173 169(gl_RayTmaxEXT) 35 178: 7(int) Constant 19 176: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 26 18 178 12 17 22 182: TypePointer Function 7(int) 183: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 42 12 187: 7(int) Constant 20 185: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 186 9 18 187 12 17 22 190: TypePointer Input 7(int) 191: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 21 12 192(gl_HitKindEXT): 190(ptr) Variable Input 193: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 194 9 18 187 12 20 194 192(gl_HitKindEXT) 35 196: TypeMatrix 103(fvec3) 4 198: TypeBool 200: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 199 10 23 12 201: 198(bool) ConstantTrue 197: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 104 22 201 202: TypePointer Function 196 203: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 197 42 12 207: 7(int) Constant 21 205: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 206 197 18 207 12 17 22 210: TypePointer Input 196 211: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 197 21 12 212(gl_ObjectToWorldEXT): 210(ptr) Variable Input 213: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 214 197 18 207 12 20 214 212(gl_ObjectToWorldEXT) 35 219: 7(int) Constant 22 217: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 218 197 18 219 12 17 22 222(gl_WorldToObjectEXT): 210(ptr) Variable Input 223: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 224 197 18 219 12 20 224 222(gl_WorldToObjectEXT) 35 226: 24(float) Constant 1056964608 227: 27(fvec4) ConstantComposite 226 226 226 226 229: 7(int) Constant 23 231: 7(int) Constant 24 14(main): 4 Function None 5 15: Label 44(v0): 41(ptr) Variable Function 56(v1): 41(ptr) Variable Function 71(v2): 69(ptr) Variable Function 83(v3): 69(ptr) Variable Function 93(v4): 69(ptr) Variable Function 107(v5): 105(ptr) Variable Function 119(v6): 105(ptr) Variable Function 129(v7): 105(ptr) Variable Function 139(v8): 105(ptr) Variable Function 151(v9): 149(ptr) Variable Function 163(v10): 149(ptr) Variable Function 175(v11): 149(ptr) Variable Function 184(v12): 182(ptr) Variable Function 204(v13): 202(ptr) Variable Function 216(v14): 202(ptr) Variable Function 37: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 38: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 11 11 12 12 36: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 49: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 35 35 12 12 47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 44(v0) 48 55: 39(ivec3) Load 52(gl_LaunchIDEXT) Store 44(v0) 55 61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 59 59 12 12 60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 57 56(v1) 48 65: 39(ivec3) Load 62(gl_LaunchSizeEXT) Store 56(v1) 65 76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 74 74 12 12 75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(v2) 48 82: 66(int) Load 79(gl_PrimitiveID) Store 71(v2) 82 88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 86 86 12 12 87: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 83(v3) 48 92: 66(int) Load 89(gl_InstanceID) Store 83(v3) 92 98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 96 96 12 12 97: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 94 93(v4) 48 102: 66(int) Load 99(gl_InstanceCustomIndexEXT) Store 93(v4) 102 112: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 110 110 12 12 111: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(v5) 48 118: 103(fvec3) Load 115(gl_WorldRayOriginEXT) Store 107(v5) 118 124: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 122 122 12 12 123: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(v6) 48 128: 103(fvec3) Load 125(gl_WorldRayDirectionEXT) Store 119(v6) 128 134: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 132 132 12 12 133: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 130 129(v7) 48 138: 103(fvec3) Load 135(gl_ObjectRayOriginEXT) Store 129(v7) 138 144: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 142 142 12 12 143: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 140 139(v8) 48 148: 103(fvec3) Load 145(gl_ObjectRayDirectionEXT) Store 139(v8) 148 156: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 154 154 12 12 155: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 152 151(v9) 48 162: 24(float) Load 159(gl_RayTminEXT) Store 151(v9) 162 168: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12 167: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 164 163(v10) 48 174: 24(float) Load 169(gl_RayTmaxEXT) Store 163(v10) 174 180: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 178 178 12 12 179: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(v11) 48 181: 24(float) Load 169(gl_RayTmaxEXT) Store 175(v11) 181 189: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 187 187 12 12 188: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 185 184(v12) 48 195: 7(int) Load 192(gl_HitKindEXT) Store 184(v12) 195 209: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 207 207 12 12 208: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 205 204(v13) 48 215: 196 Load 212(gl_ObjectToWorldEXT) Store 204(v13) 215 221: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 219 219 12 12 220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 217 216(v14) 48 225: 196 Load 222(gl_WorldToObjectEXT) Store 216(v14) 225 228: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 229 229 12 12 Store 32(incomingPayload) 227 230: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 231 231 12 12 Return FunctionEnd