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