• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.RayCallable.rcall
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 38
5
6                              Capability RayTracingNV
7                              Extension  "SPV_NV_ray_tracing"
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint CallableNV 4  "main" 11 14 19
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 17  "curFlags"
19                              Name 19  "gl_IncomingRayFlagsNV"
20                              Name 24  "dataBlock"
21                              MemberName 24(dataBlock) 0  "data1"
22                              Name 26  ""
23                              Name 37  "data0"
24                              Decorate 11(gl_LaunchIDNV) BuiltIn LaunchIdNV
25                              Decorate 14(gl_LaunchSizeNV) BuiltIn LaunchSizeNV
26                              Decorate 19(gl_IncomingRayFlagsNV) BuiltIn IncomingRayFlagsNV
27                              Decorate 24(dataBlock) Block
28                              Decorate 26 Location 1
29                              Decorate 37(data0) Location 0
30               2:             TypeVoid
31               3:             TypeFunction 2
32               6:             TypeInt 32 0
33               7:             TypeVector 6(int) 3
34               8:             TypePointer Function 7(ivec3)
35              10:             TypePointer Input 7(ivec3)
3611(gl_LaunchIDNV):     10(ptr) Variable Input
3714(gl_LaunchSizeNV):     10(ptr) Variable Input
38              16:             TypePointer Function 6(int)
39              18:             TypePointer Input 6(int)
4019(gl_IncomingRayFlagsNV):     18(ptr) Variable Input
41              22:      6(int) Constant 1
42   24(dataBlock):             TypeStruct 6(int)
43              25:             TypePointer IncomingCallableDataNV 24(dataBlock)
44              26:     25(ptr) Variable IncomingCallableDataNV
45              27:             TypeInt 32 1
46              28:     27(int) Constant 0
47              29:      6(int) Constant 256
48              30:             TypePointer IncomingCallableDataNV 6(int)
49              32:      6(int) Constant 2
50              33:     27(int) Constant 1
51              34:             TypeFloat 32
52              35:             TypeVector 34(float) 4
53              36:             TypePointer CallableDataNV 35(fvec4)
54       37(data0):     36(ptr) Variable CallableDataNV
55         4(main):           2 Function None 3
56               5:             Label
57           9(id):      8(ptr) Variable Function
58        13(size):      8(ptr) Variable Function
59    17(curFlags):     16(ptr) Variable Function
60              12:    7(ivec3) Load 11(gl_LaunchIDNV)
61                              Store 9(id) 12
62              15:    7(ivec3) Load 14(gl_LaunchSizeNV)
63                              Store 13(size) 15
64              20:      6(int) Load 19(gl_IncomingRayFlagsNV)
65                              Store 17(curFlags) 20
66              21:      6(int) Load 17(curFlags)
67              23:      6(int) BitwiseAnd 21 22
68                              Store 17(curFlags) 23
69              31:     30(ptr) AccessChain 26 28
70                              Store 31 29
71                              ExecuteCallableNV 32 33
72                              Return
73                              FunctionEnd
74