1spv.MissShader.rmiss 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 60 5 6 Capability RayTracingNV 7 Extension "SPV_NV_ray_tracing" 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint MissNV 4 "main" 11 14 21 24 27 30 35 38 11 Source GLSL 460 12 SourceExtension "GL_NV_ray_tracing" 13 Name 4 "main" 14 Name 9 "v0" 15 Name 11 "gl_LaunchIDNV" 16 Name 13 "v1" 17 Name 14 "gl_LaunchSizeNV" 18 Name 19 "v2" 19 Name 21 "gl_WorldRayOriginNV" 20 Name 23 "v3" 21 Name 24 "gl_WorldRayDirectionNV" 22 Name 26 "v4" 23 Name 27 "gl_ObjectRayOriginNV" 24 Name 29 "v5" 25 Name 30 "gl_ObjectRayDirectionNV" 26 Name 33 "v6" 27 Name 35 "gl_RayTminNV" 28 Name 37 "v7" 29 Name 38 "gl_RayTmaxNV" 30 Name 42 "accNV" 31 Name 57 "localPayload" 32 Name 59 "incomingPayload" 33 Decorate 11(gl_LaunchIDNV) BuiltIn LaunchIdNV 34 Decorate 14(gl_LaunchSizeNV) BuiltIn LaunchSizeNV 35 Decorate 21(gl_WorldRayOriginNV) BuiltIn WorldRayOriginNV 36 Decorate 24(gl_WorldRayDirectionNV) BuiltIn WorldRayDirectionNV 37 Decorate 27(gl_ObjectRayOriginNV) BuiltIn ObjectRayOriginNV 38 Decorate 30(gl_ObjectRayDirectionNV) BuiltIn ObjectRayDirectionNV 39 Decorate 35(gl_RayTminNV) BuiltIn RayTminNV 40 Decorate 38(gl_RayTmaxNV) BuiltIn RayTmaxNV 41 Decorate 42(accNV) DescriptorSet 0 42 Decorate 42(accNV) Binding 0 43 Decorate 57(localPayload) Location 0 44 Decorate 59(incomingPayload) Location 1 45 2: TypeVoid 46 3: TypeFunction 2 47 6: TypeInt 32 0 48 7: TypeVector 6(int) 3 49 8: TypePointer Function 7(ivec3) 50 10: TypePointer Input 7(ivec3) 5111(gl_LaunchIDNV): 10(ptr) Variable Input 5214(gl_LaunchSizeNV): 10(ptr) Variable Input 53 16: TypeFloat 32 54 17: TypeVector 16(float) 3 55 18: TypePointer Function 17(fvec3) 56 20: TypePointer Input 17(fvec3) 5721(gl_WorldRayOriginNV): 20(ptr) Variable Input 5824(gl_WorldRayDirectionNV): 20(ptr) Variable Input 5927(gl_ObjectRayOriginNV): 20(ptr) Variable Input 6030(gl_ObjectRayDirectionNV): 20(ptr) Variable Input 61 32: TypePointer Function 16(float) 62 34: TypePointer Input 16(float) 6335(gl_RayTminNV): 34(ptr) Variable Input 6438(gl_RayTmaxNV): 34(ptr) Variable Input 65 40: TypeAccelerationStructureNV 66 41: TypePointer UniformConstant 40 67 42(accNV): 41(ptr) Variable UniformConstant 68 44: 6(int) Constant 0 69 45: 6(int) Constant 1 70 46: 6(int) Constant 2 71 47: 6(int) Constant 3 72 48: 16(float) Constant 1056964608 73 49: 17(fvec3) ConstantComposite 48 48 48 74 50: 16(float) Constant 1065353216 75 51: 17(fvec3) ConstantComposite 50 50 50 76 52: 16(float) Constant 1061158912 77 53: TypeInt 32 1 78 54: 53(int) Constant 1 79 55: TypeVector 16(float) 4 80 56: TypePointer RayPayloadNV 55(fvec4) 8157(localPayload): 56(ptr) Variable RayPayloadNV 82 58: TypePointer IncomingRayPayloadNV 55(fvec4) 8359(incomingPayload): 58(ptr) Variable IncomingRayPayloadNV 84 4(main): 2 Function None 3 85 5: Label 86 9(v0): 8(ptr) Variable Function 87 13(v1): 8(ptr) Variable Function 88 19(v2): 18(ptr) Variable Function 89 23(v3): 18(ptr) Variable Function 90 26(v4): 18(ptr) Variable Function 91 29(v5): 18(ptr) Variable Function 92 33(v6): 32(ptr) Variable Function 93 37(v7): 32(ptr) Variable Function 94 12: 7(ivec3) Load 11(gl_LaunchIDNV) 95 Store 9(v0) 12 96 15: 7(ivec3) Load 14(gl_LaunchSizeNV) 97 Store 13(v1) 15 98 22: 17(fvec3) Load 21(gl_WorldRayOriginNV) 99 Store 19(v2) 22 100 25: 17(fvec3) Load 24(gl_WorldRayDirectionNV) 101 Store 23(v3) 25 102 28: 17(fvec3) Load 27(gl_ObjectRayOriginNV) 103 Store 26(v4) 28 104 31: 17(fvec3) Load 30(gl_ObjectRayDirectionNV) 105 Store 29(v5) 31 106 36: 16(float) Load 35(gl_RayTminNV) 107 Store 33(v6) 36 108 39: 16(float) Load 38(gl_RayTmaxNV) 109 Store 37(v7) 39 110 43: 40 Load 42(accNV) 111 TraceNV 43 44 45 46 47 44 49 48 51 52 54 112 Return 113 FunctionEnd 114