yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

alelenvAdd support for GL_NV_linear_swept_spheres.8a6b381c

main
5.7 KiB108 linesraw
1spv.nv.lss-allops.rgen
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 56
5
6                              Capability RayQueryKHR
7                              Capability RayTracingKHR
8                              Capability ShaderInvocationReorderNV
9                              Capability RayTracingSpheresGeometryNV
10                              Capability RayTracingLinearSweptSpheresGeometryNV
11                              Extension  "SPV_KHR_ray_query"
12                              Extension  "SPV_KHR_ray_tracing"
13                              Extension  "SPV_NV_linear_swept_spheres"
14                              Extension  "SPV_NV_shader_invocation_reorder"
15               1:             ExtInstImport  "GLSL.std.450"
16                              MemoryModel Logical GLSL450
17                              EntryPoint RayGenerationKHR 4  "main" 12 35
18                              Source GLSL 460
19                              SourceExtension  "GL_EXT_ray_query"
20                              SourceExtension  "GL_EXT_ray_tracing"
21                              SourceExtension  "GL_NV_linear_swept_spheres"
22                              SourceExtension  "GL_NV_shader_invocation_reorder"
23                              Name 4  "main"
24                              Name 9  "pos"
25                              Name 12  "hObj"
26                              Name 15  "rad"
27                              Name 21  "lss_pos"
28                              Name 25  "lss_rad"
29                              Name 29  "isSphereHit"
30                              Name 31  "isLSSHit"
31                              Name 35  "rq"
32                              Name 49  "hitVal"
33               2:             TypeVoid
34               3:             TypeFunction 2
35               6:             TypeFloat 32
36               7:             TypeVector 6(float) 3
37               8:             TypePointer Function 7(fvec3)
38              10:             TypeHitObjectNV
39              11:             TypePointer Private 10
40        12(hObj):     11(ptr) Variable Private
41              14:             TypePointer Function 6(float)
42              17:             TypeInt 32 0
43              18:     17(int) Constant 2
44              19:             TypeArray 7(fvec3) 18
45              20:             TypePointer Function 19
46              23:             TypeArray 6(float) 18
47              24:             TypePointer Function 23
48              27:             TypeBool
49              28:             TypePointer Function 27(bool)
50              33:             TypeRayQueryKHR
51              34:             TypePointer Private 33
52          35(rq):     34(ptr) Variable Private
53              36:    27(bool) ConstantTrue
54              37:             TypeInt 32 1
55              38:     37(int) Constant 1
56              40:    27(bool) ConstantFalse
57              41:     37(int) Constant 0
58         4(main):           2 Function None 3
59               5:             Label
60          9(pos):      8(ptr) Variable Function
61         15(rad):     14(ptr) Variable Function
62     21(lss_pos):     20(ptr) Variable Function
63     25(lss_rad):     24(ptr) Variable Function
64 29(isSphereHit):     28(ptr) Variable Function
65    31(isLSSHit):     28(ptr) Variable Function
66      49(hitVal):     14(ptr) Variable Function
67              13:    7(fvec3) HitObjectGetSpherePositionNV 12(hObj)
68                              Store 9(pos) 13
69              16:    6(float) HitObjectGetSphereRadiusNV 12(hObj)
70                              Store 15(rad) 16
71              22:          19 HitObjectGetLSSPositionsNV 12(hObj)
72                              Store 21(lss_pos) 22
73              26:          23 HitObjectGetLSSRadiiNV 12(hObj)
74                              Store 25(lss_rad) 26
75              30:    27(bool) HitObjectIsSphereHitNV 12(hObj)
76                              Store 29(isSphereHit) 30
77              32:    27(bool) HitObjectIsLSSHitNV 12(hObj)
78                              Store 31(isLSSHit) 32
79              39:    7(fvec3) RayQueryGetIntersectionSpherePositionNV 35(rq) 38
80                              Store 9(pos) 39
81              42:    7(fvec3) RayQueryGetIntersectionSpherePositionNV 35(rq) 41
82                              Store 9(pos) 42
83              43:    6(float) RayQueryGetIntersectionSphereRadiusNV 35(rq) 38
84                              Store 15(rad) 43
85              44:    6(float) RayQueryGetIntersectionSphereRadiusNV 35(rq) 41
86                              Store 15(rad) 44
87              45:          19 RayQueryGetIntersectionLSSPositionsNV 35(rq) 38
88                              Store 21(lss_pos) 45
89              46:          19 RayQueryGetIntersectionLSSPositionsNV 35(rq) 41
90                              Store 21(lss_pos) 46
91              47:          23 RayQueryGetIntersectionLSSRadiiNV 35(rq) 38
92                              Store 25(lss_rad) 47
93              48:          23 RayQueryGetIntersectionLSSRadiiNV 35(rq) 41
94                              Store 25(lss_rad) 48
95              50:    6(float) RayQueryGetIntersectionLSSHitValueNV 35(rq) 38
96                              Store 49(hitVal) 50
97              51:    6(float) RayQueryGetIntersectionLSSHitValueNV 35(rq) 41
98                              Store 49(hitVal) 51
99              52:    27(bool) RayQueryIsSphereHitNV 35(rq) 38
100                              Store 29(isSphereHit) 52
101              53:    27(bool) RayQueryIsSphereHitNV 35(rq) 41
102                              Store 29(isSphereHit) 53
103              54:    27(bool) RayQueryIsLSSHitNV 35(rq) 38
104                              Store 31(isLSSHit) 54
105              55:    27(bool) RayQueryIsLSSHitNV 35(rq) 41
106                              Store 31(isLSSHit) 55
107                              Return
108                              FunctionEnd