yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
0e43b162
main
1rayQuery-opacityMicromapRayQueryModeRead.comp 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 36 5 6 Capability Shader 7 Capability RayQueryKHR 8 Capability RayTracingOpacityMicromapExecutionModeKHR 9 Extension "SPV_KHR_opacity_micromap" 10 Extension "SPV_KHR_ray_query" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint GLCompute 4 "main" 8 11 28 14 ExecutionMode 4 LocalSize 1 1 1 15 ExecutionModeId 4 OpacityMicromapIdKHR 31 16 Source GLSL 460 17 SourceExtension "GL_EXT_opacity_micromap_ray_query_mode" 18 SourceExtension "GL_EXT_ray_query" 19 Name 4 "main" 20 Name 8 "rq" 21 Name 11 "topLevelAS" 22 Name 26 "Out" 23 MemberName 26(Out) 0 "enabled" 24 Name 28 "outBuf" 25 Name 31 "gl_EnableOpacityMicromapEXT" 26 Decorate 11(topLevelAS) Binding 0 27 Decorate 11(topLevelAS) DescriptorSet 0 28 Decorate 26(Out) Block 29 MemberDecorate 26(Out) 0 Offset 0 30 Decorate 28(outBuf) Binding 1 31 Decorate 28(outBuf) DescriptorSet 0 32 Decorate 31(gl_EnableOpacityMicromapEXT) SpecId 2 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeRayQueryKHR 36 7: TypePointer Private 6 37 8(rq): 7(ptr) Variable Private 38 9: TypeAccelerationStructureKHR 39 10: TypePointer UniformConstant 9 40 11(topLevelAS): 10(ptr) Variable UniformConstant 41 13: TypeInt 32 0 42 14: 13(int) Constant 0 43 15: 13(int) Constant 255 44 16: TypeFloat 32 45 17: TypeVector 16(float) 3 46 18: 16(float) Constant 0 47 19: 17(fvec3) ConstantComposite 18 18 18 48 20: 16(float) Constant 1036831949 49 21: 16(float) Constant 1065353216 50 22: 17(fvec3) ConstantComposite 18 18 21 51 23: 16(float) Constant 1120403456 52 24: TypeBool 53 26(Out): TypeStruct 13(int) 54 27: TypePointer StorageBuffer 26(Out) 55 28(outBuf): 27(ptr) Variable StorageBuffer 56 29: TypeInt 32 1 57 30: 29(int) Constant 0 5831(gl_EnableOpacityMicromapEXT): 24(bool) SpecConstantFalse 59 32: 13(int) Constant 1 60 33: 13(int) SpecConstantOp 169 31(gl_EnableOpacityMicromapEXT) 32 14 61 34: TypePointer StorageBuffer 13(int) 62 4(main): 2 Function None 3 63 5: Label 64 12: 9 Load 11(topLevelAS) 65 RayQueryInitializeKHR 8(rq) 12 14 15 19 20 22 23 66 25: 24(bool) RayQueryProceedKHR 8(rq) 67 35: 34(ptr) AccessChain 28(outBuf) 30 68 Store 35 33 69 Return 70 FunctionEnd