1 spv.RayConstants.rgen 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 27 5 6 Capability RayTracingNV 7 Extension "SPV_NV_ray_tracing" 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint RayGenerationNV 4 "main" 11 Source GLSL 460 12 SourceExtension "GL_NV_ray_tracing" 13 Name 4 "main" 14 Name 8 "accNV" 15 Name 26 "payload" 16 Decorate 8(accNV) DescriptorSet 0 17 Decorate 8(accNV) Binding 0 18 Decorate 26(payload) Location 0 19 2: TypeVoid 20 3: TypeFunction 2 21 6: TypeAccelerationStructureNV 22 7: TypePointer UniformConstant 6 23 8(accNV): 7(ptr) Variable UniformConstant 24 10: TypeInt 32 0 25 11: 10(int) Constant 255 26 12: 10(int) Constant 0 27 13: 10(int) Constant 1 28 14: TypeFloat 32 29 15: TypeVector 14(float) 3 30 16: 14(float) Constant 0 31 17: 15(fvec3) ConstantComposite 16 16 16 32 18: 14(float) Constant 1056964608 33 19: 14(float) Constant 1065353216 34 20: 15(fvec3) ConstantComposite 19 19 19 35 21: 14(float) Constant 1061158912 36 22: TypeInt 32 1 37 23: 22(int) Constant 1 38 24: TypeVector 14(float) 4 39 25: TypePointer RayPayloadNV 24(fvec4) 40 26(payload): 25(ptr) Variable RayPayloadNV 41 4(main): 2 Function None 3 42 5: Label 43 9: 6 Load 8(accNV) 44 TraceNV 9 11 12 13 13 12 17 18 20 21 23 45 Return 46 FunctionEnd 47