• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.ClosestHitShaderMotion.rchit
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 33
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 ClosestHitKHR 4  "main" 10 16 32
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  "time"
18                              Name 10  "gl_CurrentRayTimeNV"
19                              Name 16  "accEXT"
20                              Name 32  "incomingPayloadEXT"
21                              Decorate 10(gl_CurrentRayTimeNV) BuiltIn CurrentRayTimeNV
22                              Decorate 16(accEXT) DescriptorSet 0
23                              Decorate 16(accEXT) Binding 0
24               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeFloat 32
27               7:             TypePointer Function 6(float)
28               9:             TypePointer Input 6(float)
2910(gl_CurrentRayTimeNV):      9(ptr) Variable Input
30              12:    6(float) Constant 1056964608
31              14:             TypeAccelerationStructureKHR
32              15:             TypePointer UniformConstant 14
33      16(accEXT):     15(ptr) Variable UniformConstant
34              18:             TypeInt 32 0
35              19:     18(int) Constant 0
36              20:     18(int) Constant 1
37              21:     18(int) Constant 2
38              22:     18(int) Constant 3
39              23:             TypeVector 6(float) 3
40              24:   23(fvec3) ConstantComposite 12 12 12
41              25:    6(float) Constant 1065353216
42              26:   23(fvec3) ConstantComposite 25 25 25
43              27:    6(float) Constant 1061158912
44              28:             TypeInt 32 1
45              29:     28(int) Constant 0
46              30:             TypeVector 6(float) 4
47              31:             TypePointer IncomingRayPayloadKHR 30(fvec4)
4832(incomingPayloadEXT):     31(ptr) Variable IncomingRayPayloadKHR
49         4(main):           2 Function None 3
50               5:             Label
51         8(time):      7(ptr) Variable Function
52              11:    6(float) Load 10(gl_CurrentRayTimeNV)
53              13:    6(float) FAdd 11 12
54                              Store 8(time) 13
55              17:          14 Load 16(accEXT)
56                              TraceRayMotionNV 17 19 20 21 22 19 24 12 26 27 25 32(incomingPayloadEXT)
57                              Return
58                              FunctionEnd
59