1spv.RayCallable.rcall 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 30 5 6 Capability RayTracingNV 7 Extension "SPV_NV_ray_tracing" 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint CallableKHR 4 "main" 11 14 11 Source GLSL 460 12 SourceExtension "GL_NV_ray_tracing" 13 Name 4 "main" 14 Name 9 "id" 15 Name 11 "gl_LaunchIDNV" 16 Name 13 "size" 17 Name 14 "gl_LaunchSizeNV" 18 Name 16 "dataBlock" 19 MemberName 16(dataBlock) 0 "data1" 20 Name 18 "" 21 Name 29 "data0" 22 Decorate 11(gl_LaunchIDNV) BuiltIn LaunchIdKHR 23 Decorate 14(gl_LaunchSizeNV) BuiltIn LaunchSizeKHR 24 Decorate 16(dataBlock) Block 25 Decorate 18 Location 1 26 Decorate 29(data0) Location 0 27 2: TypeVoid 28 3: TypeFunction 2 29 6: TypeInt 32 0 30 7: TypeVector 6(int) 3 31 8: TypePointer Function 7(ivec3) 32 10: TypePointer Input 7(ivec3) 3311(gl_LaunchIDNV): 10(ptr) Variable Input 3414(gl_LaunchSizeNV): 10(ptr) Variable Input 35 16(dataBlock): TypeStruct 6(int) 36 17: TypePointer IncomingCallableDataKHR 16(dataBlock) 37 18: 17(ptr) Variable IncomingCallableDataKHR 38 19: TypeInt 32 1 39 20: 19(int) Constant 0 40 21: 6(int) Constant 256 41 22: TypePointer IncomingCallableDataKHR 6(int) 42 24: 6(int) Constant 2 43 25: 19(int) Constant 1 44 26: TypeFloat 32 45 27: TypeVector 26(float) 4 46 28: TypePointer CallableDataKHR 27(fvec4) 47 29(data0): 28(ptr) Variable CallableDataKHR 48 4(main): 2 Function None 3 49 5: Label 50 9(id): 8(ptr) Variable Function 51 13(size): 8(ptr) Variable Function 52 12: 7(ivec3) Load 11(gl_LaunchIDNV) 53 Store 9(id) 12 54 15: 7(ivec3) Load 14(gl_LaunchSizeNV) 55 Store 13(size) 15 56 23: 22(ptr) AccessChain 18 20 57 Store 23 21 58 ExecuteCallableNV 24 25 59 Return 60 FunctionEnd 61