1617a3babSopenharmony_cispv.ext.meshShaderRedeclBuiltins.mesh 2617a3babSopenharmony_ci// Module Version 10400 3617a3babSopenharmony_ci// Generated by (magic number): 8000b 4617a3babSopenharmony_ci// Id's are bound by 128 5617a3babSopenharmony_ci 6617a3babSopenharmony_ci Capability ClipDistance 7617a3babSopenharmony_ci Capability CullDistance 8617a3babSopenharmony_ci Capability MeshShadingEXT 9617a3babSopenharmony_ci Extension "SPV_EXT_mesh_shader" 10617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 11617a3babSopenharmony_ci MemoryModel Logical GLSL450 12617a3babSopenharmony_ci EntryPoint MeshEXT 4 "main" 11 17 29 81 122 13617a3babSopenharmony_ci ExecutionMode 4 LocalSize 32 1 1 14617a3babSopenharmony_ci ExecutionMode 4 OutputVertices 81 15617a3babSopenharmony_ci ExecutionMode 4 OutputPrimitivesNV 32 16617a3babSopenharmony_ci ExecutionMode 4 OutputPoints 17617a3babSopenharmony_ci Source GLSL 460 18617a3babSopenharmony_ci SourceExtension "GL_EXT_mesh_shader" 19617a3babSopenharmony_ci Name 4 "main" 20617a3babSopenharmony_ci Name 8 "iid" 21617a3babSopenharmony_ci Name 11 "gl_LocalInvocationID" 22617a3babSopenharmony_ci Name 16 "gid" 23617a3babSopenharmony_ci Name 17 "gl_WorkGroupID" 24617a3babSopenharmony_ci Name 26 "gl_MeshPerVertexEXT" 25617a3babSopenharmony_ci MemberName 26(gl_MeshPerVertexEXT) 0 "gl_Position" 26617a3babSopenharmony_ci MemberName 26(gl_MeshPerVertexEXT) 1 "gl_PointSize" 27617a3babSopenharmony_ci MemberName 26(gl_MeshPerVertexEXT) 2 "gl_ClipDistance" 28617a3babSopenharmony_ci MemberName 26(gl_MeshPerVertexEXT) 3 "gl_CullDistance" 29617a3babSopenharmony_ci Name 29 "gl_MeshVerticesEXT" 30617a3babSopenharmony_ci Name 78 "gl_MeshPerPrimitiveEXT" 31617a3babSopenharmony_ci MemberName 78(gl_MeshPerPrimitiveEXT) 0 "gl_PrimitiveID" 32617a3babSopenharmony_ci MemberName 78(gl_MeshPerPrimitiveEXT) 1 "gl_Layer" 33617a3babSopenharmony_ci MemberName 78(gl_MeshPerPrimitiveEXT) 2 "gl_ViewportIndex" 34617a3babSopenharmony_ci MemberName 78(gl_MeshPerPrimitiveEXT) 3 "gl_CullPrimitiveEXT" 35617a3babSopenharmony_ci Name 81 "gl_MeshPrimitivesEXT" 36617a3babSopenharmony_ci Name 122 "gl_PrimitivePointIndicesEXT" 37617a3babSopenharmony_ci Decorate 11(gl_LocalInvocationID) BuiltIn LocalInvocationId 38617a3babSopenharmony_ci Decorate 17(gl_WorkGroupID) BuiltIn WorkgroupId 39617a3babSopenharmony_ci MemberDecorate 26(gl_MeshPerVertexEXT) 0 BuiltIn Position 40617a3babSopenharmony_ci MemberDecorate 26(gl_MeshPerVertexEXT) 1 BuiltIn PointSize 41617a3babSopenharmony_ci MemberDecorate 26(gl_MeshPerVertexEXT) 2 BuiltIn ClipDistance 42617a3babSopenharmony_ci MemberDecorate 26(gl_MeshPerVertexEXT) 3 BuiltIn CullDistance 43617a3babSopenharmony_ci Decorate 26(gl_MeshPerVertexEXT) Block 44617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 0 PerPrimitiveNV 45617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 0 BuiltIn PrimitiveId 46617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 1 PerPrimitiveNV 47617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 1 BuiltIn Layer 48617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 2 PerPrimitiveNV 49617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 2 BuiltIn ViewportIndex 50617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 3 PerPrimitiveNV 51617a3babSopenharmony_ci MemberDecorate 78(gl_MeshPerPrimitiveEXT) 3 BuiltIn CullPrimitiveEXT 52617a3babSopenharmony_ci Decorate 78(gl_MeshPerPrimitiveEXT) Block 53617a3babSopenharmony_ci Decorate 122(gl_PrimitivePointIndicesEXT) BuiltIn PrimitivePointIndicesEXT 54617a3babSopenharmony_ci Decorate 127 BuiltIn WorkgroupSize 55617a3babSopenharmony_ci 2: TypeVoid 56617a3babSopenharmony_ci 3: TypeFunction 2 57617a3babSopenharmony_ci 6: TypeInt 32 0 58617a3babSopenharmony_ci 7: TypePointer Function 6(int) 59617a3babSopenharmony_ci 9: TypeVector 6(int) 3 60617a3babSopenharmony_ci 10: TypePointer Input 9(ivec3) 61617a3babSopenharmony_ci11(gl_LocalInvocationID): 10(ptr) Variable Input 62617a3babSopenharmony_ci 12: 6(int) Constant 0 63617a3babSopenharmony_ci 13: TypePointer Input 6(int) 64617a3babSopenharmony_ci17(gl_WorkGroupID): 10(ptr) Variable Input 65617a3babSopenharmony_ci 20: 6(int) Constant 81 66617a3babSopenharmony_ci 21: 6(int) Constant 32 67617a3babSopenharmony_ci 22: TypeFloat 32 68617a3babSopenharmony_ci 23: TypeVector 22(float) 4 69617a3babSopenharmony_ci 24: 6(int) Constant 4 70617a3babSopenharmony_ci 25: TypeArray 22(float) 24 71617a3babSopenharmony_ci26(gl_MeshPerVertexEXT): TypeStruct 23(fvec4) 22(float) 25 25 72617a3babSopenharmony_ci 27: TypeArray 26(gl_MeshPerVertexEXT) 20 73617a3babSopenharmony_ci 28: TypePointer Output 27 74617a3babSopenharmony_ci29(gl_MeshVerticesEXT): 28(ptr) Variable Output 75617a3babSopenharmony_ci 31: TypeInt 32 1 76617a3babSopenharmony_ci 32: 31(int) Constant 0 77617a3babSopenharmony_ci 33: 22(float) Constant 1065353216 78617a3babSopenharmony_ci 34: 23(fvec4) ConstantComposite 33 33 33 33 79617a3babSopenharmony_ci 35: TypePointer Output 23(fvec4) 80617a3babSopenharmony_ci 38: 31(int) Constant 1 81617a3babSopenharmony_ci 39: 22(float) Constant 1073741824 82617a3babSopenharmony_ci 40: TypePointer Output 22(float) 83617a3babSopenharmony_ci 43: 31(int) Constant 2 84617a3babSopenharmony_ci 44: 31(int) Constant 3 85617a3babSopenharmony_ci 45: 22(float) Constant 1077936128 86617a3babSopenharmony_ci 48: 22(float) Constant 1082130432 87617a3babSopenharmony_ci 50: 6(int) Constant 1 88617a3babSopenharmony_ci 51: 6(int) Constant 264 89617a3babSopenharmony_ci 52: 6(int) Constant 2 90617a3babSopenharmony_ci 77: TypeBool 91617a3babSopenharmony_ci78(gl_MeshPerPrimitiveEXT): TypeStruct 31(int) 31(int) 31(int) 77(bool) 92617a3babSopenharmony_ci 79: TypeArray 78(gl_MeshPerPrimitiveEXT) 21 93617a3babSopenharmony_ci 80: TypePointer Output 79 94617a3babSopenharmony_ci81(gl_MeshPrimitivesEXT): 80(ptr) Variable Output 95617a3babSopenharmony_ci 83: 31(int) Constant 6 96617a3babSopenharmony_ci 84: TypePointer Output 31(int) 97617a3babSopenharmony_ci 87: 31(int) Constant 7 98617a3babSopenharmony_ci 90: 31(int) Constant 8 99617a3babSopenharmony_ci 93: 77(bool) ConstantFalse 100617a3babSopenharmony_ci 94: TypePointer Output 77(bool) 101617a3babSopenharmony_ci 120: TypeArray 6(int) 21 102617a3babSopenharmony_ci 121: TypePointer Output 120 103617a3babSopenharmony_ci122(gl_PrimitivePointIndicesEXT): 121(ptr) Variable Output 104617a3babSopenharmony_ci 123: TypePointer Output 6(int) 105617a3babSopenharmony_ci 125: 31(int) Constant 31 106617a3babSopenharmony_ci 127: 9(ivec3) ConstantComposite 21 50 50 107617a3babSopenharmony_ci 4(main): 2 Function None 3 108617a3babSopenharmony_ci 5: Label 109617a3babSopenharmony_ci 8(iid): 7(ptr) Variable Function 110617a3babSopenharmony_ci 16(gid): 7(ptr) Variable Function 111617a3babSopenharmony_ci 14: 13(ptr) AccessChain 11(gl_LocalInvocationID) 12 112617a3babSopenharmony_ci 15: 6(int) Load 14 113617a3babSopenharmony_ci Store 8(iid) 15 114617a3babSopenharmony_ci 18: 13(ptr) AccessChain 17(gl_WorkGroupID) 12 115617a3babSopenharmony_ci 19: 6(int) Load 18 116617a3babSopenharmony_ci Store 16(gid) 19 117617a3babSopenharmony_ci SetMeshOutputsEXT 20 21 118617a3babSopenharmony_ci 30: 6(int) Load 8(iid) 119617a3babSopenharmony_ci 36: 35(ptr) AccessChain 29(gl_MeshVerticesEXT) 30 32 120617a3babSopenharmony_ci Store 36 34 121617a3babSopenharmony_ci 37: 6(int) Load 8(iid) 122617a3babSopenharmony_ci 41: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 37 38 123617a3babSopenharmony_ci Store 41 39 124617a3babSopenharmony_ci 42: 6(int) Load 8(iid) 125617a3babSopenharmony_ci 46: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 42 43 44 126617a3babSopenharmony_ci Store 46 45 127617a3babSopenharmony_ci 47: 6(int) Load 8(iid) 128617a3babSopenharmony_ci 49: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 47 44 43 129617a3babSopenharmony_ci Store 49 48 130617a3babSopenharmony_ci MemoryBarrier 50 51 131617a3babSopenharmony_ci ControlBarrier 52 52 51 132617a3babSopenharmony_ci 53: 6(int) Load 8(iid) 133617a3babSopenharmony_ci 54: 6(int) IAdd 53 50 134617a3babSopenharmony_ci 55: 6(int) Load 8(iid) 135617a3babSopenharmony_ci 56: 35(ptr) AccessChain 29(gl_MeshVerticesEXT) 55 32 136617a3babSopenharmony_ci 57: 23(fvec4) Load 56 137617a3babSopenharmony_ci 58: 35(ptr) AccessChain 29(gl_MeshVerticesEXT) 54 32 138617a3babSopenharmony_ci Store 58 57 139617a3babSopenharmony_ci 59: 6(int) Load 8(iid) 140617a3babSopenharmony_ci 60: 6(int) IAdd 59 50 141617a3babSopenharmony_ci 61: 6(int) Load 8(iid) 142617a3babSopenharmony_ci 62: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 61 38 143617a3babSopenharmony_ci 63: 22(float) Load 62 144617a3babSopenharmony_ci 64: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 60 38 145617a3babSopenharmony_ci Store 64 63 146617a3babSopenharmony_ci 65: 6(int) Load 8(iid) 147617a3babSopenharmony_ci 66: 6(int) IAdd 65 50 148617a3babSopenharmony_ci 67: 6(int) Load 8(iid) 149617a3babSopenharmony_ci 68: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 67 43 44 150617a3babSopenharmony_ci 69: 22(float) Load 68 151617a3babSopenharmony_ci 70: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 66 43 44 152617a3babSopenharmony_ci Store 70 69 153617a3babSopenharmony_ci 71: 6(int) Load 8(iid) 154617a3babSopenharmony_ci 72: 6(int) IAdd 71 50 155617a3babSopenharmony_ci 73: 6(int) Load 8(iid) 156617a3babSopenharmony_ci 74: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 73 44 43 157617a3babSopenharmony_ci 75: 22(float) Load 74 158617a3babSopenharmony_ci 76: 40(ptr) AccessChain 29(gl_MeshVerticesEXT) 72 44 43 159617a3babSopenharmony_ci Store 76 75 160617a3babSopenharmony_ci MemoryBarrier 50 51 161617a3babSopenharmony_ci ControlBarrier 52 52 51 162617a3babSopenharmony_ci 82: 6(int) Load 8(iid) 163617a3babSopenharmony_ci 85: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 82 32 164617a3babSopenharmony_ci Store 85 83 165617a3babSopenharmony_ci 86: 6(int) Load 8(iid) 166617a3babSopenharmony_ci 88: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 86 38 167617a3babSopenharmony_ci Store 88 87 168617a3babSopenharmony_ci 89: 6(int) Load 8(iid) 169617a3babSopenharmony_ci 91: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 89 43 170617a3babSopenharmony_ci Store 91 90 171617a3babSopenharmony_ci 92: 6(int) Load 8(iid) 172617a3babSopenharmony_ci 95: 94(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 92 44 173617a3babSopenharmony_ci Store 95 93 174617a3babSopenharmony_ci MemoryBarrier 50 51 175617a3babSopenharmony_ci ControlBarrier 52 52 51 176617a3babSopenharmony_ci 96: 6(int) Load 8(iid) 177617a3babSopenharmony_ci 97: 6(int) IAdd 96 50 178617a3babSopenharmony_ci 98: 6(int) Load 8(iid) 179617a3babSopenharmony_ci 99: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 98 32 180617a3babSopenharmony_ci 100: 31(int) Load 99 181617a3babSopenharmony_ci 101: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 97 32 182617a3babSopenharmony_ci Store 101 100 183617a3babSopenharmony_ci 102: 6(int) Load 8(iid) 184617a3babSopenharmony_ci 103: 6(int) IAdd 102 50 185617a3babSopenharmony_ci 104: 6(int) Load 8(iid) 186617a3babSopenharmony_ci 105: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 104 38 187617a3babSopenharmony_ci 106: 31(int) Load 105 188617a3babSopenharmony_ci 107: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 103 38 189617a3babSopenharmony_ci Store 107 106 190617a3babSopenharmony_ci 108: 6(int) Load 8(iid) 191617a3babSopenharmony_ci 109: 6(int) IAdd 108 50 192617a3babSopenharmony_ci 110: 6(int) Load 8(iid) 193617a3babSopenharmony_ci 111: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 110 43 194617a3babSopenharmony_ci 112: 31(int) Load 111 195617a3babSopenharmony_ci 113: 84(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 109 43 196617a3babSopenharmony_ci Store 113 112 197617a3babSopenharmony_ci 114: 6(int) Load 8(iid) 198617a3babSopenharmony_ci 115: 6(int) IAdd 114 50 199617a3babSopenharmony_ci 116: 6(int) Load 8(iid) 200617a3babSopenharmony_ci 117: 94(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 116 44 201617a3babSopenharmony_ci 118: 77(bool) Load 117 202617a3babSopenharmony_ci 119: 94(ptr) AccessChain 81(gl_MeshPrimitivesEXT) 115 44 203617a3babSopenharmony_ci Store 119 118 204617a3babSopenharmony_ci MemoryBarrier 50 51 205617a3babSopenharmony_ci ControlBarrier 52 52 51 206617a3babSopenharmony_ci 124: 123(ptr) AccessChain 122(gl_PrimitivePointIndicesEXT) 32 207617a3babSopenharmony_ci Store 124 50 208617a3babSopenharmony_ci 126: 123(ptr) AccessChain 122(gl_PrimitivePointIndicesEXT) 125 209617a3babSopenharmony_ci Store 126 52 210617a3babSopenharmony_ci Return 211617a3babSopenharmony_ci FunctionEnd 212