1spv.450.tesc 2// Module Version 10000 3// Generated by (magic number): 80008 4// Id's are bound by 45 5 6 Capability Tessellation 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint TessellationControl 4 "main" 15 18 25 32 38 41 44 10 ExecutionMode 4 OutputVertices 4 11 Source GLSL 450 12 Name 4 "main" 13 Name 11 "gl_PerVertex" 14 MemberName 11(gl_PerVertex) 0 "gl_Position" 15 MemberName 11(gl_PerVertex) 1 "gl_PointSize" 16 MemberName 11(gl_PerVertex) 2 "gl_ClipDistance" 17 MemberName 11(gl_PerVertex) 3 "gl_CullDistance" 18 Name 15 "gl_out" 19 Name 18 "gl_InvocationID" 20 Name 21 "gl_PerVertex" 21 MemberName 21(gl_PerVertex) 0 "gl_Position" 22 MemberName 21(gl_PerVertex) 1 "gl_PointSize" 23 MemberName 21(gl_PerVertex) 2 "gl_ClipDistance" 24 MemberName 21(gl_PerVertex) 3 "gl_CullDistance" 25 Name 25 "gl_in" 26 Name 32 "patchOut" 27 Name 33 "S" 28 MemberName 33(S) 0 "sMem1" 29 MemberName 33(S) 1 "sMem2" 30 Name 34 "TheBlock" 31 MemberName 34(TheBlock) 0 "bMem1" 32 MemberName 34(TheBlock) 1 "bMem2" 33 MemberName 34(TheBlock) 2 "s" 34 Name 38 "tcBlock" 35 Name 39 "SingleBlock" 36 MemberName 39(SingleBlock) 0 "bMem1" 37 MemberName 39(SingleBlock) 1 "bMem2" 38 MemberName 39(SingleBlock) 2 "s" 39 Name 41 "singleBlock" 40 Name 42 "bn" 41 MemberName 42(bn) 0 "v1" 42 MemberName 42(bn) 1 "v2" 43 MemberName 42(bn) 2 "v3" 44 Name 44 "" 45 MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position 46 MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize 47 MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance 48 MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance 49 Decorate 11(gl_PerVertex) Block 50 Decorate 18(gl_InvocationID) BuiltIn InvocationId 51 MemberDecorate 21(gl_PerVertex) 0 BuiltIn Position 52 MemberDecorate 21(gl_PerVertex) 1 BuiltIn PointSize 53 MemberDecorate 21(gl_PerVertex) 2 BuiltIn ClipDistance 54 MemberDecorate 21(gl_PerVertex) 3 BuiltIn CullDistance 55 Decorate 21(gl_PerVertex) Block 56 Decorate 32(patchOut) Patch 57 Decorate 32(patchOut) Location 1 58 MemberDecorate 34(TheBlock) 0 Patch 59 MemberDecorate 34(TheBlock) 1 Patch 60 MemberDecorate 34(TheBlock) 2 Patch 61 Decorate 34(TheBlock) Block 62 Decorate 38(tcBlock) Location 12 63 MemberDecorate 39(SingleBlock) 0 Patch 64 MemberDecorate 39(SingleBlock) 1 Patch 65 MemberDecorate 39(SingleBlock) 2 Patch 66 Decorate 39(SingleBlock) Block 67 Decorate 41(singleBlock) Location 2 68 MemberDecorate 42(bn) 0 Patch 69 MemberDecorate 42(bn) 0 Location 20 70 MemberDecorate 42(bn) 1 Patch 71 MemberDecorate 42(bn) 1 Location 24 72 MemberDecorate 42(bn) 2 Patch 73 MemberDecorate 42(bn) 2 Location 25 74 Decorate 42(bn) Block 75 2: TypeVoid 76 3: TypeFunction 2 77 6: TypeFloat 32 78 7: TypeVector 6(float) 4 79 8: TypeInt 32 0 80 9: 8(int) Constant 1 81 10: TypeArray 6(float) 9 8211(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10 83 12: 8(int) Constant 4 84 13: TypeArray 11(gl_PerVertex) 12 85 14: TypePointer Output 13 86 15(gl_out): 14(ptr) Variable Output 87 16: TypeInt 32 1 88 17: TypePointer Input 16(int) 8918(gl_InvocationID): 17(ptr) Variable Input 90 20: 16(int) Constant 0 9121(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10 92 22: 8(int) Constant 32 93 23: TypeArray 21(gl_PerVertex) 22 94 24: TypePointer Input 23 95 25(gl_in): 24(ptr) Variable Input 96 27: TypePointer Input 7(fvec4) 97 30: TypePointer Output 7(fvec4) 98 32(patchOut): 30(ptr) Variable Output 99 33(S): TypeStruct 6(float) 6(float) 100 34(TheBlock): TypeStruct 6(float) 6(float) 33(S) 101 35: 8(int) Constant 2 102 36: TypeArray 34(TheBlock) 35 103 37: TypePointer Output 36 104 38(tcBlock): 37(ptr) Variable Output 105 39(SingleBlock): TypeStruct 6(float) 6(float) 33(S) 106 40: TypePointer Output 39(SingleBlock) 107 41(singleBlock): 40(ptr) Variable Output 108 42(bn): TypeStruct 7(fvec4) 7(fvec4) 7(fvec4) 109 43: TypePointer Output 42(bn) 110 44: 43(ptr) Variable Output 111 4(main): 2 Function None 3 112 5: Label 113 19: 16(int) Load 18(gl_InvocationID) 114 26: 16(int) Load 18(gl_InvocationID) 115 28: 27(ptr) AccessChain 25(gl_in) 26 20 116 29: 7(fvec4) Load 28 117 31: 30(ptr) AccessChain 15(gl_out) 19 20 118 Store 31 29 119 Return 120 FunctionEnd 121