yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
eeba57d6
main
1spv.ext.meshShaderUserDefined.mesh 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 125 5 6 Capability MeshShadingEXT 7 Extension "SPV_EXT_mesh_shader" 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint MeshEXT 4 "main" 11 17 34 100 11 ExecutionMode 4 LocalSize 32 1 1 12 ExecutionMode 4 OutputVertices 81 13 ExecutionMode 4 OutputPrimitivesNV 32 14 ExecutionMode 4 OutputTrianglesNV 15 Source GLSL 450 16 SourceExtension "GL_EXT_mesh_shader" 17 Name 4 "main" 18 Name 8 "iid" 19 Name 11 "gl_LocalInvocationID" 20 Name 16 "gid" 21 Name 17 "gl_WorkGroupID" 22 Name 30 "myblock" 23 MemberName 30(myblock) 0 "f" 24 MemberName 30(myblock) 1 "fArr" 25 MemberName 30(myblock) 2 "pos" 26 MemberName 30(myblock) 3 "posArr" 27 MemberName 30(myblock) 4 "m" 28 MemberName 30(myblock) 5 "mArr" 29 Name 34 "blk" 30 Name 96 "myblock2" 31 MemberName 96(myblock2) 0 "f" 32 MemberName 96(myblock2) 1 "pos" 33 MemberName 96(myblock2) 2 "m" 34 Name 100 "blk2" 35 Decorate 11(gl_LocalInvocationID) BuiltIn LocalInvocationId 36 Decorate 17(gl_WorkGroupID) BuiltIn WorkgroupId 37 Decorate 30(myblock) Block 38 MemberDecorate 30(myblock) 0 PerPrimitiveNV 39 MemberDecorate 30(myblock) 1 PerPrimitiveNV 40 MemberDecorate 30(myblock) 2 PerPrimitiveNV 41 MemberDecorate 30(myblock) 3 PerPrimitiveNV 42 MemberDecorate 30(myblock) 4 PerPrimitiveNV 43 MemberDecorate 30(myblock) 5 PerPrimitiveNV 44 Decorate 34(blk) Location 0 45 Decorate 96(myblock2) Block 46 Decorate 100(blk2) Location 20 47 Decorate 124 BuiltIn WorkgroupSize 48 2: TypeVoid 49 3: TypeFunction 2 50 6: TypeInt 32 0 51 7: TypePointer Function 6(int) 52 9: TypeVector 6(int) 3 53 10: TypePointer Input 9(ivec3) 5411(gl_LocalInvocationID): 10(ptr) Variable Input 55 12: 6(int) Constant 0 56 13: TypePointer Input 6(int) 5717(gl_WorkGroupID): 10(ptr) Variable Input 58 20: TypeFloat 32 59 21: 6(int) Constant 4 60 22: TypeArray 20(float) 21 61 23: TypeVector 20(float) 3 62 24: TypeVector 20(float) 4 63 25: TypeArray 24(fvec4) 21 64 26: TypeMatrix 24(fvec4) 4 65 27: TypeMatrix 23(fvec3) 3 66 28: 6(int) Constant 2 67 29: TypeArray 27 28 68 30(myblock): TypeStruct 20(float) 22 23(fvec3) 25 26 29 69 31: 6(int) Constant 32 70 32: TypeArray 30(myblock) 31 71 33: TypePointer Output 32 72 34(blk): 33(ptr) Variable Output 73 36: TypeInt 32 1 74 37: 36(int) Constant 0 75 38: 20(float) Constant 1093664768 76 39: TypePointer Output 20(float) 77 42: 6(int) Constant 1 78 44: 36(int) Constant 1 79 49: 36(int) Constant 2 80 50: 20(float) Constant 1096810496 81 51: 20(float) Constant 1097859072 82 52: 20(float) Constant 1095761920 83 53: 23(fvec3) ConstantComposite 50 51 52 84 62: 36(int) Constant 3 85 67: 6(int) Constant 3 86 72: 36(int) Constant 4 87 73: 20(float) Constant 1098907648 88 74: 24(fvec4) ConstantComposite 52 50 51 73 89 84: 36(int) Constant 5 90 89: 20(float) Constant 1099431936 91 90: 20(float) Constant 1099956224 92 91: 20(float) Constant 1100480512 93 92: 23(fvec3) ConstantComposite 89 90 91 94 93: TypePointer Output 23(fvec3) 95 95: 6(int) Constant 264 96 96(myblock2): TypeStruct 20(float) 24(fvec4) 26 97 97: 6(int) Constant 81 98 98: TypeArray 96(myblock2) 97 99 99: TypePointer Output 98 100 100(blk2): 99(ptr) Variable Output 101 102: 20(float) Constant 1101004800 102 105: 20(float) Constant 1101529088 103 106: 20(float) Constant 1102053376 104 107: 20(float) Constant 1102577664 105 108: 20(float) Constant 1103101952 106 109: 24(fvec4) ConstantComposite 105 106 107 108 107 110: TypePointer Output 24(fvec4) 108 119: 20(float) Constant 1105723392 109 124: 9(ivec3) ConstantComposite 31 42 42 110 4(main): 2 Function None 3 111 5: Label 112 8(iid): 7(ptr) Variable Function 113 16(gid): 7(ptr) Variable Function 114 14: 13(ptr) AccessChain 11(gl_LocalInvocationID) 12 115 15: 6(int) Load 14 116 Store 8(iid) 15 117 18: 13(ptr) AccessChain 17(gl_WorkGroupID) 12 118 19: 6(int) Load 18 119 Store 16(gid) 19 120 35: 6(int) Load 8(iid) 121 40: 39(ptr) AccessChain 34(blk) 35 37 122 Store 40 38 123 41: 6(int) Load 8(iid) 124 43: 6(int) IAdd 41 42 125 45: 6(int) Load 16(gid) 126 46: 39(ptr) AccessChain 34(blk) 43 44 45 127 Store 46 38 128 47: 6(int) Load 8(iid) 129 48: 6(int) UDiv 47 28 130 54: 39(ptr) AccessChain 34(blk) 48 49 42 131 55: 20(float) CompositeExtract 53 0 132 Store 54 55 133 56: 39(ptr) AccessChain 34(blk) 48 49 28 134 57: 20(float) CompositeExtract 53 1 135 Store 56 57 136 58: 39(ptr) AccessChain 34(blk) 48 49 12 137 59: 20(float) CompositeExtract 53 2 138 Store 58 59 139 60: 6(int) Load 8(iid) 140 61: 6(int) IMul 60 28 141 63: 39(ptr) AccessChain 34(blk) 61 62 44 42 142 64: 20(float) CompositeExtract 53 0 143 Store 63 64 144 65: 39(ptr) AccessChain 34(blk) 61 62 44 28 145 66: 20(float) CompositeExtract 53 1 146 Store 65 66 147 68: 39(ptr) AccessChain 34(blk) 61 62 44 67 148 69: 20(float) CompositeExtract 53 2 149 Store 68 69 150 70: 6(int) Load 8(iid) 151 71: 6(int) UDiv 70 21 152 75: 39(ptr) AccessChain 34(blk) 71 72 49 67 153 76: 20(float) CompositeExtract 74 0 154 Store 75 76 155 77: 39(ptr) AccessChain 34(blk) 71 72 49 28 156 78: 20(float) CompositeExtract 74 1 157 Store 77 78 158 79: 39(ptr) AccessChain 34(blk) 71 72 49 42 159 80: 20(float) CompositeExtract 74 2 160 Store 79 80 161 81: 39(ptr) AccessChain 34(blk) 71 72 49 12 162 82: 20(float) CompositeExtract 74 3 163 Store 81 82 164 83: 6(int) Load 8(iid) 165 85: 39(ptr) AccessChain 34(blk) 83 84 37 44 42 166 Store 85 73 167 86: 6(int) Load 8(iid) 168 87: 6(int) IMul 86 21 169 88: 6(int) Load 16(gid) 170 94: 93(ptr) AccessChain 34(blk) 87 84 44 88 171 Store 94 92 172 MemoryBarrier 42 95 173 ControlBarrier 28 28 95 174 101: 6(int) Load 8(iid) 175 103: 39(ptr) AccessChain 100(blk2) 101 37 176 Store 103 102 177 104: 6(int) Load 8(iid) 178 111: 110(ptr) AccessChain 100(blk2) 104 44 179 Store 111 109 180 112: 6(int) Load 8(iid) 181 113: 6(int) IAdd 112 42 182 114: 6(int) Load 16(gid) 183 115: 110(ptr) AccessChain 100(blk2) 113 49 114 184 Store 115 109 185 116: 6(int) Load 8(iid) 186 117: 6(int) IAdd 116 42 187 118: 6(int) Load 16(gid) 188 120: 39(ptr) AccessChain 100(blk2) 117 49 118 28 189 Store 120 119 190 121: 6(int) Load 8(iid) 191 122: 6(int) IAdd 121 28 192 123: 110(ptr) AccessChain 100(blk2) 122 49 62 193 Store 123 109 194 MemoryBarrier 42 95 195 ControlBarrier 28 28 95 196 Return 197 FunctionEnd