yum-mirror/glslang

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

alelenvAdd support for GL_NV_linear_swept_spheres.8a6b381c

main
7.7 KiB143 linesraw
1spv.nv.lss-allops.rchit
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 73
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 ClosestHitKHR 4  "main" 12 35 57 60 63 66 69 71
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                              Name 57  "gl_HitSpherePositionNV"
34                              Name 60  "gl_HitSphereRadiusNV"
35                              Name 63  "gl_HitLSSPositionsNV"
36                              Name 66  "gl_HitLSSRadiiNV"
37                              Name 69  "gl_HitIsSphereNV"
38                              Name 71  "gl_HitIsLSSNV"
39                              Decorate 57(gl_HitSpherePositionNV) BuiltIn HitSpherePositionNV
40                              Decorate 60(gl_HitSphereRadiusNV) BuiltIn HitSphereRadiusNV
41                              Decorate 63(gl_HitLSSPositionsNV) BuiltIn HitLSSPositionsNV
42                              Decorate 66(gl_HitLSSRadiiNV) BuiltIn HitLLSSRadiiNV
43                              Decorate 69(gl_HitIsSphereNV) BuiltIn HitIsSphereNV
44                              Decorate 71(gl_HitIsLSSNV) BuiltIn HitIsLSSNV
45               2:             TypeVoid
46               3:             TypeFunction 2
47               6:             TypeFloat 32
48               7:             TypeVector 6(float) 3
49               8:             TypePointer Function 7(fvec3)
50              10:             TypeHitObjectNV
51              11:             TypePointer Private 10
52        12(hObj):     11(ptr) Variable Private
53              14:             TypePointer Function 6(float)
54              17:             TypeInt 32 0
55              18:     17(int) Constant 2
56              19:             TypeArray 7(fvec3) 18
57              20:             TypePointer Function 19
58              23:             TypeArray 6(float) 18
59              24:             TypePointer Function 23
60              27:             TypeBool
61              28:             TypePointer Function 27(bool)
62              33:             TypeRayQueryKHR
63              34:             TypePointer Private 33
64          35(rq):     34(ptr) Variable Private
65              36:    27(bool) ConstantTrue
66              37:             TypeInt 32 1
67              38:     37(int) Constant 1
68              40:    27(bool) ConstantFalse
69              41:     37(int) Constant 0
70              56:             TypePointer Input 7(fvec3)
7157(gl_HitSpherePositionNV):     56(ptr) Variable Input
72              59:             TypePointer Input 6(float)
7360(gl_HitSphereRadiusNV):     59(ptr) Variable Input
74              62:             TypePointer Input 19
7563(gl_HitLSSPositionsNV):     62(ptr) Variable Input
76              65:             TypePointer Input 23
7766(gl_HitLSSRadiiNV):     65(ptr) Variable Input
78              68:             TypePointer Input 27(bool)
7969(gl_HitIsSphereNV):     68(ptr) Variable Input
8071(gl_HitIsLSSNV):     68(ptr) Variable Input
81         4(main):           2 Function None 3
82               5:             Label
83          9(pos):      8(ptr) Variable Function
84         15(rad):     14(ptr) Variable Function
85     21(lss_pos):     20(ptr) Variable Function
86     25(lss_rad):     24(ptr) Variable Function
87 29(isSphereHit):     28(ptr) Variable Function
88    31(isLSSHit):     28(ptr) Variable Function
89      49(hitVal):     14(ptr) Variable Function
90              13:    7(fvec3) HitObjectGetSpherePositionNV 12(hObj)
91                              Store 9(pos) 13
92              16:    6(float) HitObjectGetSphereRadiusNV 12(hObj)
93                              Store 15(rad) 16
94              22:          19 HitObjectGetLSSPositionsNV 12(hObj)
95                              Store 21(lss_pos) 22
96              26:          23 HitObjectGetLSSRadiiNV 12(hObj)
97                              Store 25(lss_rad) 26
98              30:    27(bool) HitObjectIsSphereHitNV 12(hObj)
99                              Store 29(isSphereHit) 30
100              32:    27(bool) HitObjectIsLSSHitNV 12(hObj)
101                              Store 31(isLSSHit) 32
102              39:    7(fvec3) RayQueryGetIntersectionSpherePositionNV 35(rq) 38
103                              Store 9(pos) 39
104              42:    7(fvec3) RayQueryGetIntersectionSpherePositionNV 35(rq) 41
105                              Store 9(pos) 42
106              43:    6(float) RayQueryGetIntersectionSphereRadiusNV 35(rq) 38
107                              Store 15(rad) 43
108              44:    6(float) RayQueryGetIntersectionSphereRadiusNV 35(rq) 41
109                              Store 15(rad) 44
110              45:          19 RayQueryGetIntersectionLSSPositionsNV 35(rq) 38
111                              Store 21(lss_pos) 45
112              46:          19 RayQueryGetIntersectionLSSPositionsNV 35(rq) 41
113                              Store 21(lss_pos) 46
114              47:          23 RayQueryGetIntersectionLSSRadiiNV 35(rq) 38
115                              Store 25(lss_rad) 47
116              48:          23 RayQueryGetIntersectionLSSRadiiNV 35(rq) 41
117                              Store 25(lss_rad) 48
118              50:    6(float) RayQueryGetIntersectionLSSHitValueNV 35(rq) 38
119                              Store 49(hitVal) 50
120              51:    6(float) RayQueryGetIntersectionLSSHitValueNV 35(rq) 41
121                              Store 49(hitVal) 51
122              52:    27(bool) RayQueryIsSphereHitNV 35(rq) 38
123                              Store 29(isSphereHit) 52
124              53:    27(bool) RayQueryIsSphereHitNV 35(rq) 41
125                              Store 29(isSphereHit) 53
126              54:    27(bool) RayQueryIsLSSHitNV 35(rq) 38
127                              Store 31(isLSSHit) 54
128              55:    27(bool) RayQueryIsLSSHitNV 35(rq) 41
129                              Store 31(isLSSHit) 55
130              58:    7(fvec3) Load 57(gl_HitSpherePositionNV)
131                              Store 9(pos) 58
132              61:    6(float) Load 60(gl_HitSphereRadiusNV)
133                              Store 15(rad) 61
134              64:          19 Load 63(gl_HitLSSPositionsNV)
135                              Store 21(lss_pos) 64
136              67:          23 Load 66(gl_HitLSSRadiiNV)
137                              Store 25(lss_rad) 67
138              70:    27(bool) Load 69(gl_HitIsSphereNV)
139                              Store 29(isSphereHit) 70
140              72:    27(bool) Load 71(gl_HitIsLSSNV)
141                              Store 31(isLSSHit) 72
142                              Return
143                              FunctionEnd