yum-mirror/glslang

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

alelenvAdd support for GL_NV_linear_swept_spheres.8a6b381c

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