1spv.RayGenShaderMotion.rgen 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 47 5 6 Capability RayTracingKHR 7 Capability RayTracingMotionBlurNV 8 Extension "SPV_KHR_ray_tracing" 9 Extension "SPV_NV_ray_tracing_motion_blur" 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint RayGenerationKHR 4 "main" 11 21 29 46 13 Source GLSL 460 14 SourceExtension "GL_EXT_ray_tracing" 15 SourceExtension "GL_NV_ray_tracing_motion_blur" 16 Name 4 "main" 17 Name 8 "lx" 18 Name 11 "gl_LaunchIDEXT" 19 Name 16 "ly" 20 Name 20 "sx" 21 Name 21 "gl_LaunchSizeEXT" 22 Name 24 "sy" 23 Name 29 "accEXT" 24 Name 46 "payloadEXT" 25 Decorate 11(gl_LaunchIDEXT) BuiltIn LaunchIdKHR 26 Decorate 21(gl_LaunchSizeEXT) BuiltIn LaunchSizeKHR 27 Decorate 29(accEXT) DescriptorSet 0 28 Decorate 29(accEXT) Binding 0 29 2: TypeVoid 30 3: TypeFunction 2 31 6: TypeInt 32 0 32 7: TypePointer Function 6(int) 33 9: TypeVector 6(int) 3 34 10: TypePointer Input 9(ivec3) 3511(gl_LaunchIDEXT): 10(ptr) Variable Input 36 12: 6(int) Constant 0 37 13: TypePointer Input 6(int) 38 17: 6(int) Constant 1 3921(gl_LaunchSizeEXT): 10(ptr) Variable Input 40 27: TypeAccelerationStructureKHR 41 28: TypePointer UniformConstant 27 42 29(accEXT): 28(ptr) Variable UniformConstant 43 35: TypeFloat 32 44 36: TypeVector 35(float) 3 45 37: 35(float) Constant 1056964608 46 38: 36(fvec3) ConstantComposite 37 37 37 47 39: 35(float) Constant 1065353216 48 40: 36(fvec3) ConstantComposite 39 39 39 49 41: 35(float) Constant 1061158912 50 42: TypeInt 32 1 51 43: 42(int) Constant 0 52 44: TypeVector 35(float) 4 53 45: TypePointer RayPayloadKHR 44(fvec4) 54 46(payloadEXT): 45(ptr) Variable RayPayloadKHR 55 4(main): 2 Function None 3 56 5: Label 57 8(lx): 7(ptr) Variable Function 58 16(ly): 7(ptr) Variable Function 59 20(sx): 7(ptr) Variable Function 60 24(sy): 7(ptr) Variable Function 61 14: 13(ptr) AccessChain 11(gl_LaunchIDEXT) 12 62 15: 6(int) Load 14 63 Store 8(lx) 15 64 18: 13(ptr) AccessChain 11(gl_LaunchIDEXT) 17 65 19: 6(int) Load 18 66 Store 16(ly) 19 67 22: 13(ptr) AccessChain 21(gl_LaunchSizeEXT) 12 68 23: 6(int) Load 22 69 Store 20(sx) 23 70 25: 13(ptr) AccessChain 21(gl_LaunchSizeEXT) 17 71 26: 6(int) Load 25 72 Store 24(sy) 26 73 30: 27 Load 29(accEXT) 74 31: 6(int) Load 8(lx) 75 32: 6(int) Load 16(ly) 76 33: 6(int) Load 20(sx) 77 34: 6(int) Load 24(sy) 78 TraceRayMotionNV 30 31 32 33 34 12 38 37 40 41 37 46(payloadEXT) 79 Return 80 FunctionEnd 81