yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
458ff50a
main
1spv.ext.hitobject-allops.rmiss 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 114 5 6 Capability RayQueryKHR 7 Capability RayTracingKHR 8 Capability ShaderInvocationReorderEXT 9 Extension "SPV_EXT_shader_invocation_reorder" 10 Extension "SPV_KHR_ray_query" 11 Extension "SPV_KHR_ray_tracing" 12 1: ExtInstImport "GLSL.std.450" 13 MemoryModel Logical GLSL450 14 EntryPoint MissKHR 4 "main" 9 14 22 25 36 42 43 44 49 56 112 15 Source GLSL 460 16 SourceExtension "GL_EXT_ray_query" 17 SourceExtension "GL_EXT_ray_tracing" 18 SourceExtension "GL_EXT_shader_invocation_reorder" 19 SourceExtension "GL_NV_ray_tracing_motion_blur" 20 Name 4 "main" 21 Name 9 "attr" 22 Name 12 "hBlock" 23 MemberName 12(hBlock) 0 "attrval" 24 Name 14 "" 25 Name 22 "hObj" 26 Name 25 "as" 27 Name 36 "payload" 28 Name 40 "pBlock" 29 MemberName 40(pBlock) 0 "val1" 30 MemberName 40(pBlock) 1 "val2" 31 Name 42 "" 32 Name 43 "hObjNop" 33 Name 44 "hObjMiss" 34 Name 49 "hObjHit" 35 Name 54 "block" 36 MemberName 54(block) 0 "op" 37 Name 56 "" 38 Name 71 "rayflags" 39 Name 74 "tmin" 40 Name 76 "tmax" 41 Name 79 "orig" 42 Name 81 "dir" 43 Name 83 "oorig" 44 Name 85 "odir" 45 Name 89 "otw" 46 Name 91 "wto" 47 Name 94 "cid" 48 Name 96 "iid" 49 Name 98 "pid" 50 Name 100 "gid" 51 Name 102 "hkind" 52 Name 106 "handle" 53 Name 108 "rid" 54 Name 112 "rq" 55 Decorate 12(hBlock) Block 56 Decorate 25(as) Binding 0 57 Decorate 25(as) DescriptorSet 0 58 Decorate 40(pBlock) Block 59 Decorate 54(block) Block 60 MemberDecorate 54(block) 0 Offset 0 61 Decorate 56 Binding 1 62 Decorate 56 DescriptorSet 0 63 2: TypeVoid 64 3: TypeFunction 2 65 6: TypeFloat 32 66 7: TypeVector 6(float) 2 67 8: TypePointer HitObjectAttributeEXT 7(fvec2) 68 9(attr): 8(ptr) Variable HitObjectAttributeEXT 69 10: 6(float) Constant 1065353216 70 11: 7(fvec2) ConstantComposite 10 10 71 12(hBlock): TypeStruct 6(float) 72 13: TypePointer HitObjectAttributeEXT 12(hBlock) 73 14: 13(ptr) Variable HitObjectAttributeEXT 74 15: TypeInt 32 1 75 16: 15(int) Constant 0 76 17: 6(float) Constant 1073741824 77 18: TypePointer HitObjectAttributeEXT 6(float) 78 20: TypeHitObjectEXT 79 21: TypePointer Private 20 80 22(hObj): 21(ptr) Variable Private 81 23: TypeAccelerationStructureKHR 82 24: TypePointer UniformConstant 23 83 25(as): 24(ptr) Variable UniformConstant 84 27: TypeInt 32 0 85 28: 27(int) Constant 1 86 29: TypeVector 6(float) 3 87 30: 6(float) Constant 1056964608 88 31: 29(fvec3) ConstantComposite 30 30 30 89 32: 29(fvec3) ConstantComposite 10 10 10 90 33: 15(int) Constant 1 91 34: TypeVector 6(float) 4 92 35: TypePointer RayPayloadKHR 34(fvec4) 93 36(payload): 35(ptr) Variable RayPayloadKHR 94 38: 6(float) Constant 1092616192 95 39: 15(int) Constant 2 96 40(pBlock): TypeStruct 7(fvec2) 7(fvec2) 97 41: TypePointer RayPayloadKHR 40(pBlock) 98 42: 41(ptr) Variable RayPayloadKHR 99 43(hObjNop): 21(ptr) Variable Private 100 44(hObjMiss): 21(ptr) Variable Private 101 45: 6(float) Constant 1069547520 102 46: 29(fvec3) ConstantComposite 45 45 45 103 47: 6(float) Constant 1084227584 104 48: 6(float) Constant 1090519040 105 49(hObjHit): 21(ptr) Variable Private 106 50: TypeBool 107 54(block): TypeStruct 6(float) 108 55: TypePointer StorageBuffer 54(block) 109 56: 55(ptr) Variable StorageBuffer 110 57: TypePointer StorageBuffer 6(float) 111 68: 6(float) Constant 1077936128 112 70: TypePointer Function 27(int) 113 73: TypePointer Function 6(float) 114 78: TypePointer Function 29(fvec3) 115 87: TypeMatrix 29(fvec3) 4 116 88: TypePointer Function 87 117 93: TypePointer Function 15(int) 118 104: TypeVector 27(int) 2 119 105: TypePointer Function 104(ivec2) 120 110: TypeRayQueryKHR 121 111: TypePointer Private 110 122 112(rq): 111(ptr) Variable Private 123 113: 27(int) Constant 254 124 4(main): 2 Function None 3 125 5: Label 126 71(rayflags): 70(ptr) Variable Function 127 74(tmin): 73(ptr) Variable Function 128 76(tmax): 73(ptr) Variable Function 129 79(orig): 78(ptr) Variable Function 130 81(dir): 78(ptr) Variable Function 131 83(oorig): 78(ptr) Variable Function 132 85(odir): 78(ptr) Variable Function 133 89(otw): 88(ptr) Variable Function 134 91(wto): 88(ptr) Variable Function 135 94(cid): 93(ptr) Variable Function 136 96(iid): 93(ptr) Variable Function 137 98(pid): 93(ptr) Variable Function 138 100(gid): 93(ptr) Variable Function 139 102(hkind): 70(ptr) Variable Function 140 106(handle): 105(ptr) Variable Function 141 108(rid): 70(ptr) Variable Function 142 Store 9(attr) 11 143 19: 18(ptr) AccessChain 14 16 144 Store 19 17 145 26: 23 Load 25(as) 146 HitObjectTraceRayEXT 22(hObj) 26 28 28 28 28 28 31 30 32 10 36(payload) 147 37: 23 Load 25(as) 148 HitObjectTraceRayMotionEXT 22(hObj) 37 28 28 28 28 28 31 30 32 10 38 42 149 HitObjectRecordEmptyEXT 43(hObjNop) 150 HitObjectRecordMissEXT 44(hObjMiss) 28 28 31 17 46 47 151 HitObjectRecordMissMotionEXT 44(hObjMiss) 28 28 31 17 46 47 48 152 HitObjectExecuteShaderEXT 49(hObjHit) 36(payload) 153 51: 50(bool) HitObjectIsHitEXT 22(hObj) 154 SelectionMerge 53 None 155 BranchConditional 51 52 59 156 52: Label 157 58: 57(ptr) AccessChain 56 16 158 Store 58 10 159 Branch 53 160 59: Label 161 60: 50(bool) HitObjectIsMissEXT 22(hObj) 162 SelectionMerge 62 None 163 BranchConditional 60 61 64 164 61: Label 165 63: 57(ptr) AccessChain 56 16 166 Store 63 17 167 Branch 62 168 64: Label 169 65: 50(bool) HitObjectIsEmptyEXT 22(hObj) 170 SelectionMerge 67 None 171 BranchConditional 65 66 67 172 66: Label 173 69: 57(ptr) AccessChain 56 16 174 Store 69 68 175 Branch 67 176 67: Label 177 Branch 62 178 62: Label 179 Branch 53 180 53: Label 181 72: 27(int) HitObjectGetRayFlagsEXT 49(hObjHit) 182 Store 71(rayflags) 72 183 75: 6(float) HitObjectGetRayTMinEXT 49(hObjHit) 184 Store 74(tmin) 75 185 77: 6(float) HitObjectGetRayTMaxEXT 49(hObjHit) 186 Store 76(tmax) 77 187 80: 29(fvec3) HitObjectGetWorldRayOriginEXT 49(hObjHit) 188 Store 79(orig) 80 189 82: 29(fvec3) HitObjectGetWorldRayDirectionEXT 49(hObjHit) 190 Store 81(dir) 82 191 84: 29(fvec3) HitObjectGetObjectRayOriginEXT 49(hObjHit) 192 Store 83(oorig) 84 193 86: 29(fvec3) HitObjectGetObjectRayDirectionEXT 49(hObjHit) 194 Store 85(odir) 86 195 90: 87 HitObjectGetObjectToWorldEXT 49(hObjHit) 196 Store 89(otw) 90 197 92: 87 HitObjectGetWorldToObjectEXT 49(hObjHit) 198 Store 91(wto) 92 199 95: 15(int) HitObjectGetInstanceCustomIndexEXT 44(hObjMiss) 200 Store 94(cid) 95 201 97: 15(int) HitObjectGetInstanceIdEXT 43(hObjNop) 202 Store 96(iid) 97 203 99: 15(int) HitObjectGetPrimitiveIndexEXT 22(hObj) 204 Store 98(pid) 99 205 101: 15(int) HitObjectGetGeometryIndexEXT 22(hObj) 206 Store 100(gid) 101 207 103: 27(int) HitObjectGetHitKindEXT 22(hObj) 208 Store 102(hkind) 103 209 HitObjectGetAttributesEXT 22(hObj) 9(attr) 210 107: 104(ivec2) HitObjectGetShaderRecordBufferHandleEXT 22(hObj) 211 Store 106(handle) 107 212 109: 27(int) HitObjectGetShaderBindingTableRecordIndexEXT 22(hObj) 213 Store 108(rid) 109 214 HitObjectRecordFromQueryEXT 49(hObjHit) 112(rq) 28 9(attr) 215 HitObjectRecordFromQueryEXT 49(hObjHit) 112(rq) 28 9(attr) 113 216 Return 217 FunctionEnd