blob: f4787ee946a63817a7f87265da0944b783dbcb1d [file] [log] [blame]
spv.nv.lss-allops.rmiss
// Module Version 10400
// Generated by (magic number): 8000b
// Id's are bound by 56
Capability RayQueryKHR
Capability RayTracingKHR
Capability ShaderInvocationReorderNV
Capability RayTracingSpheresGeometryNV
Capability RayTracingLinearSweptSpheresGeometryNV
Extension "SPV_KHR_ray_query"
Extension "SPV_KHR_ray_tracing"
Extension "SPV_NV_linear_swept_spheres"
Extension "SPV_NV_shader_invocation_reorder"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint MissKHR 4 "main" 12 35
Source GLSL 460
SourceExtension "GL_EXT_ray_query"
SourceExtension "GL_EXT_ray_tracing"
SourceExtension "GL_NV_linear_swept_spheres"
SourceExtension "GL_NV_shader_invocation_reorder"
Name 4 "main"
Name 9 "pos"
Name 12 "hObj"
Name 15 "rad"
Name 21 "lss_pos"
Name 25 "lss_rad"
Name 29 "isSphereHit"
Name 31 "isLSSHit"
Name 35 "rq"
Name 49 "hitVal"
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 3
8: TypePointer Function 7(fvec3)
10: TypeHitObjectNV
11: TypePointer Private 10
12(hObj): 11(ptr) Variable Private
14: TypePointer Function 6(float)
17: TypeInt 32 0
18: 17(int) Constant 2
19: TypeArray 7(fvec3) 18
20: TypePointer Function 19
23: TypeArray 6(float) 18
24: TypePointer Function 23
27: TypeBool
28: TypePointer Function 27(bool)
33: TypeRayQueryKHR
34: TypePointer Private 33
35(rq): 34(ptr) Variable Private
36: 27(bool) ConstantTrue
37: TypeInt 32 1
38: 37(int) Constant 1
40: 27(bool) ConstantFalse
41: 37(int) Constant 0
4(main): 2 Function None 3
5: Label
9(pos): 8(ptr) Variable Function
15(rad): 14(ptr) Variable Function
21(lss_pos): 20(ptr) Variable Function
25(lss_rad): 24(ptr) Variable Function
29(isSphereHit): 28(ptr) Variable Function
31(isLSSHit): 28(ptr) Variable Function
49(hitVal): 14(ptr) Variable Function
13: 7(fvec3) HitObjectGetSpherePositionNV 12(hObj)
Store 9(pos) 13
16: 6(float) HitObjectGetSphereRadiusNV 12(hObj)
Store 15(rad) 16
22: 19 HitObjectGetLSSPositionsNV 12(hObj)
Store 21(lss_pos) 22
26: 23 HitObjectGetLSSRadiiNV 12(hObj)
Store 25(lss_rad) 26
30: 27(bool) HitObjectIsSphereHitNV 12(hObj)
Store 29(isSphereHit) 30
32: 27(bool) HitObjectIsLSSHitNV 12(hObj)
Store 31(isLSSHit) 32
39: 7(fvec3) RayQueryGetIntersectionSpherePositionNV 35(rq) 38
Store 9(pos) 39
42: 7(fvec3) RayQueryGetIntersectionSpherePositionNV 35(rq) 41
Store 9(pos) 42
43: 6(float) RayQueryGetIntersectionSphereRadiusNV 35(rq) 38
Store 15(rad) 43
44: 6(float) RayQueryGetIntersectionSphereRadiusNV 35(rq) 41
Store 15(rad) 44
45: 19 RayQueryGetIntersectionLSSPositionsNV 35(rq) 38
Store 21(lss_pos) 45
46: 19 RayQueryGetIntersectionLSSPositionsNV 35(rq) 41
Store 21(lss_pos) 46
47: 23 RayQueryGetIntersectionLSSRadiiNV 35(rq) 38
Store 25(lss_rad) 47
48: 23 RayQueryGetIntersectionLSSRadiiNV 35(rq) 41
Store 25(lss_rad) 48
50: 6(float) RayQueryGetIntersectionLSSHitValueNV 35(rq) 38
Store 49(hitVal) 50
51: 6(float) RayQueryGetIntersectionLSSHitValueNV 35(rq) 41
Store 49(hitVal) 51
52: 27(bool) RayQueryIsSphereHitNV 35(rq) 38
Store 29(isSphereHit) 52
53: 27(bool) RayQueryIsSphereHitNV 35(rq) 41
Store 29(isSphereHit) 53
54: 27(bool) RayQueryIsLSSHitNV 35(rq) 38
Store 31(isLSSHit) 54
55: 27(bool) RayQueryIsLSSHitNV 35(rq) 41
Store 31(isLSSHit) 55
Return
FunctionEnd