John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | spv.400.tesc |
| 2 | Warning, version 400 is not yet complete; most version-specific features are present, but some are missing. |
| 3 | |
| 4 | |
| 5 | Linked tessellation control stage: |
| 6 | |
| 7 | |
| 8 | // Module Version 10000 |
| 9 | // Generated by (magic number): 80001 |
| 10 | // Id's are bound by 93 |
| 11 | |
| 12 | Capability Tessellation |
| 13 | 1: ExtInstImport "GLSL.std.450" |
| 14 | MemoryModel Logical GLSL450 |
| 15 | EntryPoint TessellationControl 4 "main" 52 79 83 84 87 88 91 92 |
| 16 | ExecutionMode 4 OutputVertices 4 |
| 17 | Source GLSL 400 |
| 18 | SourceExtension "GL_ARB_separate_shader_objects" |
| 19 | Name 4 "main" |
| 20 | Name 12 "a" |
| 21 | Name 17 "p" |
| 22 | Name 19 "gl_PerVertex" |
| 23 | MemberName 19(gl_PerVertex) 0 "gl_Position" |
| 24 | MemberName 19(gl_PerVertex) 1 "gl_PointSize" |
| 25 | MemberName 19(gl_PerVertex) 2 "gl_ClipDistance" |
| 26 | Name 23 "gl_in" |
| 27 | Name 30 "ps" |
| 28 | Name 34 "cd" |
| 29 | Name 38 "pvi" |
| 30 | Name 40 "gl_PatchVerticesIn" |
| 31 | Name 42 "pid" |
| 32 | Name 43 "gl_PrimitiveID" |
| 33 | Name 45 "iid" |
| 34 | Name 46 "gl_InvocationID" |
| 35 | Name 48 "gl_PerVertex" |
| 36 | MemberName 48(gl_PerVertex) 0 "gl_Position" |
| 37 | MemberName 48(gl_PerVertex) 1 "gl_PointSize" |
| 38 | MemberName 48(gl_PerVertex) 2 "gl_ClipDistance" |
| 39 | Name 52 "gl_out" |
| 40 | Name 66 "gl_TessLevelOuter" |
| 41 | Name 73 "gl_TessLevelInner" |
| 42 | Name 78 "outa" |
| 43 | Name 79 "patchOut" |
| 44 | Name 83 "inb" |
| 45 | Name 84 "ind" |
| 46 | Name 87 "ivla" |
| 47 | Name 88 "ivlb" |
| 48 | Name 91 "ovla" |
| 49 | Name 92 "ovlb" |
| 50 | MemberDecorate 19(gl_PerVertex) 0 BuiltIn Position |
| 51 | MemberDecorate 19(gl_PerVertex) 1 BuiltIn PointSize |
| 52 | MemberDecorate 19(gl_PerVertex) 2 BuiltIn ClipDistance |
| 53 | Decorate 19(gl_PerVertex) Block |
| 54 | Decorate 40(gl_PatchVerticesIn) BuiltIn PatchVertices |
| 55 | Decorate 43(gl_PrimitiveID) BuiltIn PrimitiveId |
| 56 | Decorate 46(gl_InvocationID) BuiltIn InvocationId |
| 57 | MemberDecorate 48(gl_PerVertex) 0 BuiltIn Position |
| 58 | MemberDecorate 48(gl_PerVertex) 1 BuiltIn PointSize |
| 59 | MemberDecorate 48(gl_PerVertex) 2 BuiltIn ClipDistance |
| 60 | Decorate 48(gl_PerVertex) Block |
| 61 | Decorate 66(gl_TessLevelOuter) Patch |
| 62 | Decorate 66(gl_TessLevelOuter) BuiltIn TessLevelOuter |
| 63 | Decorate 73(gl_TessLevelInner) Patch |
| 64 | Decorate 73(gl_TessLevelInner) BuiltIn TessLevelInner |
| 65 | Decorate 79(patchOut) Patch |
| 66 | Decorate 87(ivla) Location 3 |
| 67 | Decorate 88(ivlb) Location 4 |
| 68 | Decorate 91(ovla) Location 3 |
| 69 | Decorate 92(ovlb) Location 4 |
| 70 | 2: TypeVoid |
| 71 | 3: TypeFunction 2 |
| 72 | 6: TypeInt 32 0 |
| 73 | 7: 6(int) Constant 1 |
| 74 | 8: 6(int) Constant 1023 |
| 75 | 9: 6(int) Constant 0 |
| 76 | 10: TypeInt 32 1 |
| 77 | 11: TypePointer Function 10(int) |
| 78 | 13: 10(int) Constant 5392 |
| 79 | 14: TypeFloat 32 |
| 80 | 15: TypeVector 14(float) 4 |
| 81 | 16: TypePointer Function 15(fvec4) |
| 82 | 18: TypeArray 14(float) 7 |
| 83 | 19(gl_PerVertex): TypeStruct 15(fvec4) 14(float) 18 |
| 84 | 20: 6(int) Constant 32 |
| 85 | 21: TypeArray 19(gl_PerVertex) 20 |
| 86 | 22: TypePointer Input 21 |
| 87 | 23(gl_in): 22(ptr) Variable Input |
| 88 | 24: 10(int) Constant 1 |
| 89 | 25: 10(int) Constant 0 |
| 90 | 26: TypePointer Input 15(fvec4) |
| 91 | 29: TypePointer Function 14(float) |
| 92 | 31: TypePointer Input 14(float) |
| 93 | 35: 10(int) Constant 2 |
| 94 | 39: TypePointer Input 10(int) |
| 95 | 40(gl_PatchVerticesIn): 39(ptr) Variable Input |
| 96 | 43(gl_PrimitiveID): 39(ptr) Variable Input |
| 97 | 46(gl_InvocationID): 39(ptr) Variable Input |
| 98 | 48(gl_PerVertex): TypeStruct 15(fvec4) 14(float) 18 |
| 99 | 49: 6(int) Constant 4 |
| 100 | 50: TypeArray 48(gl_PerVertex) 49 |
| 101 | 51: TypePointer Output 50 |
| 102 | 52(gl_out): 51(ptr) Variable Output |
| 103 | 55: TypePointer Output 15(fvec4) |
| 104 | 59: TypePointer Output 14(float) |
| 105 | 64: TypeArray 14(float) 49 |
| 106 | 65: TypePointer Output 64 |
| 107 | 66(gl_TessLevelOuter): 65(ptr) Variable Output |
| 108 | 67: 10(int) Constant 3 |
| 109 | 68: 14(float) Constant 1078774989 |
| 110 | 70: 6(int) Constant 2 |
| 111 | 71: TypeArray 14(float) 70 |
| 112 | 72: TypePointer Output 71 |
| 113 | 73(gl_TessLevelInner): 72(ptr) Variable Output |
| 114 | 74: 14(float) Constant 1067869798 |
| 115 | 76: TypeArray 10(int) 49 |
| 116 | 77: TypePointer Private 76 |
| 117 | 78(outa): 77(ptr) Variable Private |
| 118 | 79(patchOut): 55(ptr) Variable Output |
| 119 | 80: TypeVector 14(float) 2 |
| 120 | 81: TypeArray 80(fvec2) 20 |
| 121 | 82: TypePointer Input 81 |
| 122 | 83(inb): 82(ptr) Variable Input |
| 123 | 84(ind): 82(ptr) Variable Input |
| 124 | 85: TypeArray 15(fvec4) 20 |
| 125 | 86: TypePointer Input 85 |
| 126 | 87(ivla): 86(ptr) Variable Input |
| 127 | 88(ivlb): 86(ptr) Variable Input |
| 128 | 89: TypeArray 15(fvec4) 49 |
| 129 | 90: TypePointer Output 89 |
| 130 | 91(ovla): 90(ptr) Variable Output |
| 131 | 92(ovlb): 90(ptr) Variable Output |
| 132 | 4(main): 2 Function None 3 |
| 133 | 5: Label |
| 134 | 12(a): 11(ptr) Variable Function |
| 135 | 17(p): 16(ptr) Variable Function |
| 136 | 30(ps): 29(ptr) Variable Function |
| 137 | 34(cd): 29(ptr) Variable Function |
| 138 | 38(pvi): 11(ptr) Variable Function |
| 139 | 42(pid): 11(ptr) Variable Function |
| 140 | 45(iid): 11(ptr) Variable Function |
| 141 | MemoryBarrier 7 8 |
| 142 | ControlBarrier 7 7 9 |
| 143 | Store 12(a) 13 |
| 144 | 27: 26(ptr) AccessChain 23(gl_in) 24 25 |
| 145 | 28: 15(fvec4) Load 27 |
| 146 | Store 17(p) 28 |
| 147 | 32: 31(ptr) AccessChain 23(gl_in) 24 24 |
| 148 | 33: 14(float) Load 32 |
| 149 | Store 30(ps) 33 |
| 150 | 36: 31(ptr) AccessChain 23(gl_in) 24 35 35 |
| 151 | 37: 14(float) Load 36 |
| 152 | Store 34(cd) 37 |
| 153 | 41: 10(int) Load 40(gl_PatchVerticesIn) |
| 154 | Store 38(pvi) 41 |
| 155 | 44: 10(int) Load 43(gl_PrimitiveID) |
| 156 | Store 42(pid) 44 |
| 157 | 47: 10(int) Load 46(gl_InvocationID) |
| 158 | Store 45(iid) 47 |
| 159 | 53: 10(int) Load 46(gl_InvocationID) |
| 160 | 54: 15(fvec4) Load 17(p) |
| 161 | 56: 55(ptr) AccessChain 52(gl_out) 53 25 |
| 162 | Store 56 54 |
| 163 | 57: 10(int) Load 46(gl_InvocationID) |
| 164 | 58: 14(float) Load 30(ps) |
| 165 | 60: 59(ptr) AccessChain 52(gl_out) 57 24 |
| 166 | Store 60 58 |
| 167 | 61: 10(int) Load 46(gl_InvocationID) |
| 168 | 62: 14(float) Load 34(cd) |
| 169 | 63: 59(ptr) AccessChain 52(gl_out) 61 35 24 |
| 170 | Store 63 62 |
| 171 | 69: 59(ptr) AccessChain 66(gl_TessLevelOuter) 67 |
| 172 | Store 69 68 |
| 173 | 75: 59(ptr) AccessChain 73(gl_TessLevelInner) 24 |
| 174 | Store 75 74 |
| 175 | Return |
| 176 | FunctionEnd |