| spv.nv.lss-allops.frag |
| // Module Version 10400 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 47 |
| |
| Capability Shader |
| Capability RayQueryKHR |
| Capability RayTracingSpheresGeometryNV |
| Capability RayTracingLinearSweptSpheresGeometryNV |
| Extension "SPV_KHR_ray_query" |
| Extension "SPV_NV_linear_swept_spheres" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Fragment 4 "main" 12 |
| ExecutionMode 4 OriginUpperLeft |
| Source GLSL 460 |
| SourceExtension "GL_EXT_ray_query" |
| SourceExtension "GL_EXT_ray_tracing" |
| SourceExtension "GL_NV_linear_swept_spheres" |
| SourceExtension "GL_NV_shader_invocation_reorder" |
| Name 4 "main" |
| Name 9 "pos" |
| Name 12 "rq" |
| Name 22 "rad" |
| Name 29 "lss_pos" |
| Name 34 "lss_rad" |
| Name 37 "hitVal" |
| Name 41 "isSphereHit" |
| Name 44 "isLSSHit" |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 32 |
| 7: TypeVector 6(float) 3 |
| 8: TypePointer Function 7(fvec3) |
| 10: TypeRayQueryKHR |
| 11: TypePointer Private 10 |
| 12(rq): 11(ptr) Variable Private |
| 13: TypeBool |
| 14: 13(bool) ConstantTrue |
| 15: TypeInt 32 1 |
| 16: 15(int) Constant 1 |
| 18: 13(bool) ConstantFalse |
| 19: 15(int) Constant 0 |
| 21: TypePointer Function 6(float) |
| 25: TypeInt 32 0 |
| 26: 25(int) Constant 2 |
| 27: TypeArray 7(fvec3) 26 |
| 28: TypePointer Function 27 |
| 32: TypeArray 6(float) 26 |
| 33: TypePointer Function 32 |
| 40: TypePointer Function 13(bool) |
| 4(main): 2 Function None 3 |
| 5: Label |
| 9(pos): 8(ptr) Variable Function |
| 22(rad): 21(ptr) Variable Function |
| 29(lss_pos): 28(ptr) Variable Function |
| 34(lss_rad): 33(ptr) Variable Function |
| 37(hitVal): 21(ptr) Variable Function |
| 41(isSphereHit): 40(ptr) Variable Function |
| 44(isLSSHit): 40(ptr) Variable Function |
| 17: 7(fvec3) RayQueryGetIntersectionSpherePositionNV 12(rq) 16 |
| Store 9(pos) 17 |
| 20: 7(fvec3) RayQueryGetIntersectionSpherePositionNV 12(rq) 19 |
| Store 9(pos) 20 |
| 23: 6(float) RayQueryGetIntersectionSphereRadiusNV 12(rq) 16 |
| Store 22(rad) 23 |
| 24: 6(float) RayQueryGetIntersectionSphereRadiusNV 12(rq) 19 |
| Store 22(rad) 24 |
| 30: 27 RayQueryGetIntersectionLSSPositionsNV 12(rq) 16 |
| Store 29(lss_pos) 30 |
| 31: 27 RayQueryGetIntersectionLSSPositionsNV 12(rq) 19 |
| Store 29(lss_pos) 31 |
| 35: 32 RayQueryGetIntersectionLSSRadiiNV 12(rq) 16 |
| Store 34(lss_rad) 35 |
| 36: 32 RayQueryGetIntersectionLSSRadiiNV 12(rq) 19 |
| Store 34(lss_rad) 36 |
| 38: 6(float) RayQueryGetIntersectionLSSHitValueNV 12(rq) 16 |
| Store 37(hitVal) 38 |
| 39: 6(float) RayQueryGetIntersectionLSSHitValueNV 12(rq) 19 |
| Store 37(hitVal) 39 |
| 42: 13(bool) RayQueryIsSphereHitNV 12(rq) 16 |
| Store 41(isSphereHit) 42 |
| 43: 13(bool) RayQueryIsSphereHitNV 12(rq) 19 |
| Store 41(isSphereHit) 43 |
| 45: 13(bool) RayQueryIsLSSHitNV 12(rq) 16 |
| Store 44(isLSSHit) 45 |
| 46: 13(bool) RayQueryIsLSSHitNV 12(rq) 19 |
| Store 44(isLSSHit) 46 |
| Return |
| FunctionEnd |