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
1.7 KiB34 linesraw
1spv.nv.lss-lssgeomcap.rgen
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 13
5
6                              Capability RayTracingKHR
7                              Capability ShaderInvocationReorderNV
8                              Capability RayTracingLinearSweptSpheresGeometryNV
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               2:             TypeVoid
22               3:             TypeFunction 2
23               6:             TypeBool
24               7:             TypePointer Function 6(bool)
25               9:             TypeHitObjectNV
26              10:             TypePointer Private 9
27        11(hObj):     10(ptr) Variable Private
28         4(main):           2 Function None 3
29               5:             Label
30         8(temp):      7(ptr) Variable Function
31              12:     6(bool) HitObjectIsLSSHitNV 11(hObj)
32                              Store 8(temp) 12
33                              Return
34                              FunctionEnd