1spv.400.tese 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 96 5 6 Capability Tessellation 7 Capability TessellationPointSize 8 Capability ClipDistance 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint TessellationEvaluation 4 "main" 21 38 41 47 53 61 66 75 79 80 84 88 91 92 95 12 ExecutionMode 4 Triangles 13 ExecutionMode 4 SpacingFractionalOdd 14 ExecutionMode 4 VertexOrderCcw 15 ExecutionMode 4 PointMode 16 Source GLSL 400 17 SourceExtension "GL_ARB_separate_shader_objects" 18 Name 4 "main" 19 Name 8 "a" 20 Name 13 "p" 21 Name 17 "gl_PerVertex" 22 MemberName 17(gl_PerVertex) 0 "gl_Position" 23 MemberName 17(gl_PerVertex) 1 "gl_PointSize" 24 MemberName 17(gl_PerVertex) 2 "gl_ClipDistance" 25 Name 21 "gl_in" 26 Name 28 "ps" 27 Name 32 "cd" 28 Name 36 "pvi" 29 Name 38 "gl_PatchVerticesIn" 30 Name 40 "pid" 31 Name 41 "gl_PrimitiveID" 32 Name 45 "tc" 33 Name 47 "gl_TessCoord" 34 Name 49 "tlo" 35 Name 53 "gl_TessLevelOuter" 36 Name 57 "tli" 37 Name 61 "gl_TessLevelInner" 38 Name 64 "gl_PerVertex" 39 MemberName 64(gl_PerVertex) 0 "gl_Position" 40 MemberName 64(gl_PerVertex) 1 "gl_PointSize" 41 MemberName 64(gl_PerVertex) 2 "gl_ClipDistance" 42 Name 66 "" 43 Name 75 "patchIn" 44 Name 79 "inb" 45 Name 80 "ind" 46 Name 81 "testblb" 47 MemberName 81(testblb) 0 "f" 48 Name 84 "blb" 49 Name 85 "testbld" 50 MemberName 85(testbld) 0 "f" 51 Name 88 "bld" 52 Name 91 "ivla" 53 Name 92 "ivlb" 54 Name 95 "ovla" 55 MemberDecorate 17(gl_PerVertex) 0 BuiltIn Position 56 MemberDecorate 17(gl_PerVertex) 1 BuiltIn PointSize 57 MemberDecorate 17(gl_PerVertex) 2 BuiltIn ClipDistance 58 Decorate 17(gl_PerVertex) Block 59 Decorate 38(gl_PatchVerticesIn) BuiltIn PatchVertices 60 Decorate 41(gl_PrimitiveID) BuiltIn PrimitiveId 61 Decorate 47(gl_TessCoord) BuiltIn TessCoord 62 Decorate 53(gl_TessLevelOuter) Patch 63 Decorate 53(gl_TessLevelOuter) BuiltIn TessLevelOuter 64 Decorate 61(gl_TessLevelInner) Patch 65 Decorate 61(gl_TessLevelInner) BuiltIn TessLevelInner 66 MemberDecorate 64(gl_PerVertex) 0 BuiltIn Position 67 MemberDecorate 64(gl_PerVertex) 1 BuiltIn PointSize 68 MemberDecorate 64(gl_PerVertex) 2 BuiltIn ClipDistance 69 Decorate 64(gl_PerVertex) Block 70 Decorate 75(patchIn) Patch 71 Decorate 75(patchIn) Location 0 72 Decorate 79(inb) Location 1 73 Decorate 80(ind) Location 2 74 Decorate 81(testblb) Block 75 Decorate 84(blb) Location 3 76 Decorate 85(testbld) Block 77 Decorate 88(bld) Location 4 78 Decorate 91(ivla) Location 23 79 Decorate 92(ivlb) Location 24 80 Decorate 95(ovla) Location 23 81 2: TypeVoid 82 3: TypeFunction 2 83 6: TypeInt 32 1 84 7: TypePointer Function 6(int) 85 9: 6(int) Constant 1512 86 10: TypeFloat 32 87 11: TypeVector 10(float) 4 88 12: TypePointer Function 11(fvec4) 89 14: TypeInt 32 0 90 15: 14(int) Constant 3 91 16: TypeArray 10(float) 15 9217(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 16 93 18: 14(int) Constant 32 94 19: TypeArray 17(gl_PerVertex) 18 95 20: TypePointer Input 19 96 21(gl_in): 20(ptr) Variable Input 97 22: 6(int) Constant 1 98 23: 6(int) Constant 0 99 24: TypePointer Input 11(fvec4) 100 27: TypePointer Function 10(float) 101 29: TypePointer Input 10(float) 102 33: 6(int) Constant 2 103 37: TypePointer Input 6(int) 10438(gl_PatchVerticesIn): 37(ptr) Variable Input 10541(gl_PrimitiveID): 37(ptr) Variable Input 106 43: TypeVector 10(float) 3 107 44: TypePointer Function 43(fvec3) 108 46: TypePointer Input 43(fvec3) 10947(gl_TessCoord): 46(ptr) Variable Input 110 50: 14(int) Constant 4 111 51: TypeArray 10(float) 50 112 52: TypePointer Input 51 11353(gl_TessLevelOuter): 52(ptr) Variable Input 114 54: 6(int) Constant 3 115 58: 14(int) Constant 2 116 59: TypeArray 10(float) 58 117 60: TypePointer Input 59 11861(gl_TessLevelInner): 60(ptr) Variable Input 11964(gl_PerVertex): TypeStruct 11(fvec4) 10(float) 16 120 65: TypePointer Output 64(gl_PerVertex) 121 66: 65(ptr) Variable Output 122 68: TypePointer Output 11(fvec4) 123 71: TypePointer Output 10(float) 124 75(patchIn): 24(ptr) Variable Input 125 76: TypeVector 10(float) 2 126 77: TypeArray 76(fvec2) 18 127 78: TypePointer Input 77 128 79(inb): 78(ptr) Variable Input 129 80(ind): 78(ptr) Variable Input 130 81(testblb): TypeStruct 6(int) 131 82: TypeArray 81(testblb) 18 132 83: TypePointer Input 82 133 84(blb): 83(ptr) Variable Input 134 85(testbld): TypeStruct 6(int) 135 86: TypeArray 85(testbld) 18 136 87: TypePointer Input 86 137 88(bld): 87(ptr) Variable Input 138 89: TypeArray 11(fvec4) 18 139 90: TypePointer Input 89 140 91(ivla): 90(ptr) Variable Input 141 92(ivlb): 90(ptr) Variable Input 142 93: TypeArray 11(fvec4) 58 143 94: TypePointer Output 93 144 95(ovla): 94(ptr) Variable Output 145 4(main): 2 Function None 3 146 5: Label 147 8(a): 7(ptr) Variable Function 148 13(p): 12(ptr) Variable Function 149 28(ps): 27(ptr) Variable Function 150 32(cd): 27(ptr) Variable Function 151 36(pvi): 7(ptr) Variable Function 152 40(pid): 7(ptr) Variable Function 153 45(tc): 44(ptr) Variable Function 154 49(tlo): 27(ptr) Variable Function 155 57(tli): 27(ptr) Variable Function 156 Store 8(a) 9 157 25: 24(ptr) AccessChain 21(gl_in) 22 23 158 26: 11(fvec4) Load 25 159 Store 13(p) 26 160 30: 29(ptr) AccessChain 21(gl_in) 22 22 161 31: 10(float) Load 30 162 Store 28(ps) 31 163 34: 29(ptr) AccessChain 21(gl_in) 22 33 33 164 35: 10(float) Load 34 165 Store 32(cd) 35 166 39: 6(int) Load 38(gl_PatchVerticesIn) 167 Store 36(pvi) 39 168 42: 6(int) Load 41(gl_PrimitiveID) 169 Store 40(pid) 42 170 48: 43(fvec3) Load 47(gl_TessCoord) 171 Store 45(tc) 48 172 55: 29(ptr) AccessChain 53(gl_TessLevelOuter) 54 173 56: 10(float) Load 55 174 Store 49(tlo) 56 175 62: 29(ptr) AccessChain 61(gl_TessLevelInner) 22 176 63: 10(float) Load 62 177 Store 57(tli) 63 178 67: 11(fvec4) Load 13(p) 179 69: 68(ptr) AccessChain 66 23 180 Store 69 67 181 70: 10(float) Load 28(ps) 182 72: 71(ptr) AccessChain 66 22 183 Store 72 70 184 73: 10(float) Load 32(cd) 185 74: 71(ptr) AccessChain 66 33 33 186 Store 74 73 187 Return 188 FunctionEnd 189