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