1spv.ext.MissShader.rmiss 2// Module Version 10400 3// Generated by (magic number): 8000a 4// Id's are bound by 71 5 6 Capability GroupNonUniform 7 Capability GroupNonUniformBallot 8 Capability SubgroupBallotKHR 9 Capability RayTracingKHR 10 Capability ShaderSMBuiltinsNV 11 Extension "SPV_KHR_ray_tracing" 12 Extension "SPV_KHR_shader_ballot" 13 Extension "SPV_NV_shader_sm_builtins" 14 1: ExtInstImport "GLSL.std.450" 15 MemoryModel Logical GLSL450 16 EntryPoint MissKHR 4 "main" 11 14 21 24 29 32 36 51 53 58 63 70 17 Source GLSL 460 18 SourceExtension "GL_ARB_shader_ballot" 19 SourceExtension "GL_EXT_ray_tracing" 20 SourceExtension "GL_KHR_shader_subgroup_ballot" 21 SourceExtension "GL_KHR_shader_subgroup_basic" 22 SourceExtension "GL_NV_shader_sm_builtins" 23 Name 4 "main" 24 Name 9 "v0" 25 Name 11 "gl_LaunchIDEXT" 26 Name 13 "v1" 27 Name 14 "gl_LaunchSizeEXT" 28 Name 19 "v2" 29 Name 21 "gl_WorldRayOriginEXT" 30 Name 23 "v3" 31 Name 24 "gl_WorldRayDirectionEXT" 32 Name 27 "v4" 33 Name 29 "gl_RayTminEXT" 34 Name 31 "v5" 35 Name 32 "gl_RayTmaxEXT" 36 Name 36 "accEXT" 37 Name 51 "incomingPayload" 38 Name 53 "gl_SubGroupSizeARB" 39 Name 58 "gl_SubgroupEqMask" 40 Name 63 "gl_WarpIDNV" 41 Name 70 "localPayload" 42 Decorate 11(gl_LaunchIDEXT) BuiltIn LaunchIdKHR 43 Decorate 14(gl_LaunchSizeEXT) BuiltIn LaunchSizeKHR 44 Decorate 21(gl_WorldRayOriginEXT) BuiltIn WorldRayOriginKHR 45 Decorate 24(gl_WorldRayDirectionEXT) BuiltIn WorldRayDirectionKHR 46 Decorate 29(gl_RayTminEXT) BuiltIn RayTminKHR 47 Decorate 32(gl_RayTmaxEXT) BuiltIn RayTmaxKHR 48 Decorate 36(accEXT) DescriptorSet 0 49 Decorate 36(accEXT) Binding 0 50 Decorate 51(incomingPayload) Location 1 51 Decorate 53(gl_SubGroupSizeARB) BuiltIn SubgroupSize 52 Decorate 53(gl_SubGroupSizeARB) Volatile 53 Decorate 53(gl_SubGroupSizeARB) Coherent 54 Decorate 58(gl_SubgroupEqMask) BuiltIn SubgroupEqMaskKHR 55 Decorate 58(gl_SubgroupEqMask) Volatile 56 Decorate 58(gl_SubgroupEqMask) Coherent 57 Decorate 63(gl_WarpIDNV) BuiltIn WarpIDNV 58 Decorate 63(gl_WarpIDNV) Volatile 59 Decorate 63(gl_WarpIDNV) Coherent 60 Decorate 70(localPayload) Location 0 61 2: TypeVoid 62 3: TypeFunction 2 63 6: TypeInt 32 0 64 7: TypeVector 6(int) 3 65 8: TypePointer Function 7(ivec3) 66 10: TypePointer Input 7(ivec3) 6711(gl_LaunchIDEXT): 10(ptr) Variable Input 6814(gl_LaunchSizeEXT): 10(ptr) Variable Input 69 16: TypeFloat 32 70 17: TypeVector 16(float) 3 71 18: TypePointer Function 17(fvec3) 72 20: TypePointer Input 17(fvec3) 7321(gl_WorldRayOriginEXT): 20(ptr) Variable Input 7424(gl_WorldRayDirectionEXT): 20(ptr) Variable Input 75 26: TypePointer Function 16(float) 76 28: TypePointer Input 16(float) 7729(gl_RayTminEXT): 28(ptr) Variable Input 7832(gl_RayTmaxEXT): 28(ptr) Variable Input 79 34: TypeAccelerationStructureKHR 80 35: TypePointer UniformConstant 34 81 36(accEXT): 35(ptr) Variable UniformConstant 82 38: 6(int) Constant 0 83 39: 6(int) Constant 1 84 40: 6(int) Constant 2 85 41: 6(int) Constant 3 86 42: 16(float) Constant 1056964608 87 43: 17(fvec3) ConstantComposite 42 42 42 88 44: 16(float) Constant 1065353216 89 45: 17(fvec3) ConstantComposite 44 44 44 90 46: 16(float) Constant 1061158912 91 47: TypeInt 32 1 92 48: 47(int) Constant 1 93 49: TypeVector 16(float) 4 94 50: TypePointer IncomingRayPayloadKHR 49(fvec4) 9551(incomingPayload): 50(ptr) Variable IncomingRayPayloadKHR 96 52: TypePointer Input 6(int) 9753(gl_SubGroupSizeARB): 52(ptr) Variable Input 98 56: TypeVector 6(int) 4 99 57: TypePointer Input 56(ivec4) 10058(gl_SubgroupEqMask): 57(ptr) Variable Input 101 63(gl_WarpIDNV): 52(ptr) Variable Input 102 67: TypePointer IncomingRayPayloadKHR 16(float) 103 69: TypePointer RayPayloadKHR 49(fvec4) 10470(localPayload): 69(ptr) Variable RayPayloadKHR 105 4(main): 2 Function None 3 106 5: Label 107 9(v0): 8(ptr) Variable Function 108 13(v1): 8(ptr) Variable Function 109 19(v2): 18(ptr) Variable Function 110 23(v3): 18(ptr) Variable Function 111 27(v4): 26(ptr) Variable Function 112 31(v5): 26(ptr) Variable Function 113 12: 7(ivec3) Load 11(gl_LaunchIDEXT) 114 Store 9(v0) 12 115 15: 7(ivec3) Load 14(gl_LaunchSizeEXT) 116 Store 13(v1) 15 117 22: 17(fvec3) Load 21(gl_WorldRayOriginEXT) 118 Store 19(v2) 22 119 25: 17(fvec3) Load 24(gl_WorldRayDirectionEXT) 120 Store 23(v3) 25 121 30: 16(float) Load 29(gl_RayTminEXT) 122 Store 27(v4) 30 123 33: 16(float) Load 32(gl_RayTmaxEXT) 124 Store 31(v5) 33 125 37: 34 Load 36(accEXT) 126 TraceRayKHR 37 38 39 40 41 38 43 42 45 46 51(incomingPayload) 127 54: 6(int) Load 53(gl_SubGroupSizeARB) 128 55: 16(float) ConvertUToF 54 129 59: 56(ivec4) Load 58(gl_SubgroupEqMask) 130 60: 49(fvec4) ConvertUToF 59 131 61: 16(float) CompositeExtract 60 0 132 62: 16(float) FAdd 55 61 133 64: 6(int) Load 63(gl_WarpIDNV) 134 65: 16(float) ConvertUToF 64 135 66: 16(float) FAdd 62 65 136 68: 67(ptr) AccessChain 51(incomingPayload) 38 137 Store 68 66 138 Return 139 FunctionEnd 140