yum-mirror/glslang

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

alelenvFix bug in emitting correct capability for LSS built-in functions. (#3968)fc060af4

main
2.3 KiB46 linesraw
1spv.nv.lss-spheregeomcap.rgen
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 21
5
6                              Capability RayTracingKHR
7                              Capability ShaderInvocationReorderNV
8                              Capability RayTracingSpheresGeometryNV
9                              Extension  "SPV_KHR_ray_tracing"
10                              Extension  "SPV_NV_linear_swept_spheres"
11                              Extension  "SPV_NV_shader_invocation_reorder"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical GLSL450
14                              EntryPoint RayGenerationKHR 4  "main" 11
15                              Source GLSL 460
16                              SourceExtension  "GL_NV_linear_swept_spheres"
17                              SourceExtension  "GL_NV_shader_invocation_reorder"
18                              Name 4  "main"
19                              Name 8  "temp"
20                              Name 11  "hObj"
21                              Name 16  "pos"
22                              Name 19  "rad"
23               2:             TypeVoid
24               3:             TypeFunction 2
25               6:             TypeBool
26               7:             TypePointer Function 6(bool)
27               9:             TypeHitObjectNV
28              10:             TypePointer Private 9
29        11(hObj):     10(ptr) Variable Private
30              13:             TypeFloat 32
31              14:             TypeVector 13(float) 3
32              15:             TypePointer Function 14(fvec3)
33              18:             TypePointer Function 13(float)
34         4(main):           2 Function None 3
35               5:             Label
36         8(temp):      7(ptr) Variable Function
37         16(pos):     15(ptr) Variable Function
38         19(rad):     18(ptr) Variable Function
39              12:     6(bool) HitObjectIsSphereHitNV 11(hObj)
40                              Store 8(temp) 12
41              17:   14(fvec3) HitObjectGetSpherePositionNV 11(hObj)
42                              Store 16(pos) 17
43              20:   13(float) HitObjectGetSphereRadiusNV 11(hObj)
44                              Store 19(rad) 20
45                              Return
46                              FunctionEnd