John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.300layoutp.vert |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
John Kessenich | 07ed11f | 2017-10-07 11:33:11 -0600 | [diff] [blame^] | 3 | // Generated by (magic number): 80002 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 4 | // Id's are bound by 115 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 5 | |
| 6 | Capability Shader |
| 7 | 1: ExtInstImport "GLSL.std.450" |
| 8 | MemoryModel Logical GLSL450 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 9 | EntryPoint Vertex 4 "main" 9 11 50 52 60 72 80 |
John Kessenich | f6eae2a | 2016-01-22 17:47:22 -0700 | [diff] [blame] | 10 | Source ESSL 310 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 11 | Name 4 "main" |
| 12 | Name 9 "pos" |
| 13 | Name 11 "p" |
| 14 | Name 17 "Transform" |
| 15 | MemberName 17(Transform) 0 "M1" |
| 16 | MemberName 17(Transform) 1 "M2" |
| 17 | MemberName 17(Transform) 2 "N1" |
| 18 | MemberName 17(Transform) 3 "iuin" |
| 19 | Name 19 "tblock" |
| 20 | Name 33 "T3" |
| 21 | MemberName 33(T3) 0 "M3" |
| 22 | MemberName 33(T3) 1 "M4" |
| 23 | MemberName 33(T3) 2 "N2" |
| 24 | MemberName 33(T3) 3 "uv3a" |
| 25 | Name 35 "" |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 26 | Name 42 "T2" |
| 27 | MemberName 42(T2) 0 "b" |
| 28 | MemberName 42(T2) 1 "t2m" |
| 29 | Name 44 "" |
| 30 | Name 50 "color" |
| 31 | Name 52 "c" |
| 32 | Name 60 "iout" |
| 33 | Name 66 "uiuin" |
| 34 | Name 72 "aiv2" |
| 35 | Name 78 "S" |
| 36 | MemberName 78(S) 0 "c" |
| 37 | MemberName 78(S) 1 "f" |
| 38 | Name 80 "s" |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 39 | Decorate 11(p) Location 3 |
| 40 | MemberDecorate 17(Transform) 0 RowMajor |
| 41 | MemberDecorate 17(Transform) 0 Offset 0 |
| 42 | MemberDecorate 17(Transform) 0 MatrixStride 16 |
| 43 | MemberDecorate 17(Transform) 1 ColMajor |
| 44 | MemberDecorate 17(Transform) 1 Offset 64 |
| 45 | MemberDecorate 17(Transform) 1 MatrixStride 16 |
| 46 | MemberDecorate 17(Transform) 2 RowMajor |
| 47 | MemberDecorate 17(Transform) 2 Offset 128 |
| 48 | MemberDecorate 17(Transform) 2 MatrixStride 16 |
| 49 | MemberDecorate 17(Transform) 3 Offset 176 |
| 50 | Decorate 17(Transform) Block |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 51 | Decorate 19(tblock) DescriptorSet 0 |
| 52 | Decorate 32 ArrayStride 16 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 53 | MemberDecorate 33(T3) 0 ColMajor |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 54 | MemberDecorate 33(T3) 0 Offset 0 |
| 55 | MemberDecorate 33(T3) 0 MatrixStride 16 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 56 | MemberDecorate 33(T3) 1 RowMajor |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 57 | MemberDecorate 33(T3) 1 Offset 64 |
| 58 | MemberDecorate 33(T3) 1 MatrixStride 16 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 59 | MemberDecorate 33(T3) 2 ColMajor |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 60 | MemberDecorate 33(T3) 2 Offset 128 |
| 61 | MemberDecorate 33(T3) 2 MatrixStride 16 |
| 62 | MemberDecorate 33(T3) 3 Offset 160 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 63 | Decorate 33(T3) Block |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 64 | Decorate 35 DescriptorSet 0 |
| 65 | MemberDecorate 42(T2) 0 Offset 0 |
| 66 | MemberDecorate 42(T2) 1 RowMajor |
| 67 | MemberDecorate 42(T2) 1 Offset 16 |
| 68 | MemberDecorate 42(T2) 1 MatrixStride 16 |
| 69 | Decorate 42(T2) Block |
| 70 | Decorate 44 DescriptorSet 0 |
| 71 | Decorate 52(c) Location 7 |
| 72 | Decorate 60(iout) Flat |
| 73 | Decorate 72(aiv2) Location 9 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 74 | 2: TypeVoid |
| 75 | 3: TypeFunction 2 |
| 76 | 6: TypeFloat 32 |
| 77 | 7: TypeVector 6(float) 4 |
| 78 | 8: TypePointer Output 7(fvec4) |
| 79 | 9(pos): 8(ptr) Variable Output |
| 80 | 10: TypePointer Input 7(fvec4) |
| 81 | 11(p): 10(ptr) Variable Input |
| 82 | 13: TypeMatrix 7(fvec4) 4 |
| 83 | 14: TypeVector 6(float) 3 |
| 84 | 15: TypeMatrix 14(fvec3) 3 |
| 85 | 16: TypeInt 32 1 |
| 86 | 17(Transform): TypeStruct 13 13 15 16(int) |
| 87 | 18: TypePointer Uniform 17(Transform) |
| 88 | 19(tblock): 18(ptr) Variable Uniform |
| 89 | 20: 16(int) Constant 0 |
| 90 | 21: TypePointer Uniform 13 |
| 91 | 24: 16(int) Constant 1 |
| 92 | 28: TypeMatrix 14(fvec3) 2 |
| 93 | 29: TypeInt 32 0 |
| 94 | 30: TypeVector 29(int) 3 |
| 95 | 31: 29(int) Constant 4 |
| 96 | 32: TypeArray 30(ivec3) 31 |
| 97 | 33(T3): TypeStruct 13 13 28 32 |
| 98 | 34: TypePointer Uniform 33(T3) |
| 99 | 35: 34(ptr) Variable Uniform |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 100 | 42(T2): TypeStruct 29(int) 13 |
| 101 | 43: TypePointer Uniform 42(T2) |
| 102 | 44: 43(ptr) Variable Uniform |
| 103 | 49: TypePointer Output 14(fvec3) |
| 104 | 50(color): 49(ptr) Variable Output |
| 105 | 51: TypePointer Input 14(fvec3) |
| 106 | 52(c): 51(ptr) Variable Input |
| 107 | 54: 16(int) Constant 2 |
| 108 | 55: TypePointer Uniform 15 |
| 109 | 59: TypePointer Output 16(int) |
| 110 | 60(iout): 59(ptr) Variable Output |
| 111 | 61: 16(int) Constant 3 |
| 112 | 62: TypePointer Uniform 16(int) |
| 113 | 65: TypePointer Private 29(int) |
| 114 | 66(uiuin): 65(ptr) Variable Private |
| 115 | 70: TypeVector 16(int) 2 |
| 116 | 71: TypePointer Input 70(ivec2) |
| 117 | 72(aiv2): 71(ptr) Variable Input |
| 118 | 73: 29(int) Constant 1 |
| 119 | 74: TypePointer Input 16(int) |
| 120 | 78(S): TypeStruct 14(fvec3) 6(float) |
| 121 | 79: TypePointer Output 78(S) |
| 122 | 80(s): 79(ptr) Variable Output |
| 123 | 83: 29(int) Constant 0 |
| 124 | 84: TypePointer Input 6(float) |
| 125 | 87: TypePointer Output 6(float) |
| 126 | 89: TypeBool |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 127 | 90: TypePointer Uniform 14(fvec3) |
| 128 | 93: 6(float) Constant 1065353216 |
| 129 | 94: 14(fvec3) ConstantComposite 93 93 93 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 130 | 95: TypeVector 89(bool) 3 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 131 | 101: TypePointer Uniform 30(ivec3) |
| 132 | 104: 29(int) Constant 5 |
| 133 | 105: 30(ivec3) ConstantComposite 104 104 104 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 134 | 4(main): 2 Function None 3 |
| 135 | 5: Label |
| 136 | 12: 7(fvec4) Load 11(p) |
| 137 | 22: 21(ptr) AccessChain 19(tblock) 20 |
| 138 | 23: 13 Load 22 |
| 139 | 25: 21(ptr) AccessChain 19(tblock) 24 |
| 140 | 26: 13 Load 25 |
| 141 | 27: 13 MatrixTimesMatrix 23 26 |
| 142 | 36: 21(ptr) AccessChain 35 24 |
| 143 | 37: 13 Load 36 |
| 144 | 38: 13 MatrixTimesMatrix 27 37 |
| 145 | 39: 21(ptr) AccessChain 35 20 |
| 146 | 40: 13 Load 39 |
| 147 | 41: 13 MatrixTimesMatrix 38 40 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 148 | 45: 21(ptr) AccessChain 44 24 |
| 149 | 46: 13 Load 45 |
| 150 | 47: 13 MatrixTimesMatrix 41 46 |
| 151 | 48: 7(fvec4) VectorTimesMatrix 12 47 |
| 152 | Store 9(pos) 48 |
| 153 | 53: 14(fvec3) Load 52(c) |
| 154 | 56: 55(ptr) AccessChain 19(tblock) 54 |
| 155 | 57: 15 Load 56 |
| 156 | 58: 14(fvec3) VectorTimesMatrix 53 57 |
| 157 | Store 50(color) 58 |
| 158 | 63: 62(ptr) AccessChain 19(tblock) 61 |
| 159 | 64: 16(int) Load 63 |
| 160 | 67: 29(int) Load 66(uiuin) |
| 161 | 68: 16(int) Bitcast 67 |
| 162 | 69: 16(int) IAdd 64 68 |
| 163 | 75: 74(ptr) AccessChain 72(aiv2) 73 |
| 164 | 76: 16(int) Load 75 |
| 165 | 77: 16(int) IAdd 69 76 |
| 166 | Store 60(iout) 77 |
| 167 | 81: 14(fvec3) Load 52(c) |
| 168 | 82: 49(ptr) AccessChain 80(s) 20 |
| 169 | Store 82 81 |
| 170 | 85: 84(ptr) AccessChain 11(p) 83 |
| 171 | 86: 6(float) Load 85 |
| 172 | 88: 87(ptr) AccessChain 80(s) 24 |
| 173 | Store 88 86 |
| 174 | 91: 90(ptr) AccessChain 35 54 24 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 175 | 92: 14(fvec3) Load 91 |
| 176 | 96: 95(bvec3) FOrdNotEqual 92 94 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 177 | 97: 89(bool) Any 96 |
| 178 | 98: 89(bool) LogicalNot 97 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 179 | SelectionMerge 100 None |
| 180 | BranchConditional 98 99 100 |
| 181 | 99: Label |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 182 | 102: 101(ptr) AccessChain 35 61 54 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 183 | 103: 30(ivec3) Load 102 |
| 184 | 106: 95(bvec3) INotEqual 103 105 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 185 | 107: 89(bool) Any 106 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 186 | Branch 100 |
| 187 | 100: Label |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 188 | 108: 89(bool) Phi 97 5 107 99 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 189 | SelectionMerge 110 None |
| 190 | BranchConditional 108 109 110 |
| 191 | 109: Label |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 192 | 111: 49(ptr) AccessChain 80(s) 20 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 193 | 112: 14(fvec3) Load 111 |
| 194 | 113: 14(fvec3) CompositeConstruct 93 93 93 |
| 195 | 114: 14(fvec3) FAdd 112 113 |
| 196 | Store 111 114 |
| 197 | Branch 110 |
| 198 | 110: Label |
| 199 | Return |
| 200 | FunctionEnd |