John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 1 | hlsl.shapeConv.frag |
| 2 | Shader version: 450 |
| 3 | gl_FragCoord origin is upper left |
| 4 | 0:? Sequence |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 5 | 0:2 Function Definition: PixelShaderFunction(vf4;f1; (temp 4-component vector of float) |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 6 | 0:2 Function Parameters: |
| 7 | 0:2 'input' (in 4-component vector of float) |
| 8 | 0:2 'f' (in float) |
| 9 | 0:? Sequence |
| 10 | 0:4 move second child to first child (temp 4-component vector of float) |
| 11 | 0:4 'v' (temp 4-component vector of float) |
| 12 | 0:4 Constant: |
| 13 | 0:4 1.000000 |
| 14 | 0:4 1.000000 |
| 15 | 0:4 1.000000 |
| 16 | 0:4 1.000000 |
| 17 | 0:5 move second child to first child (temp 4-component vector of float) |
| 18 | 0:5 'v' (temp 4-component vector of float) |
| 19 | 0:5 Constant: |
| 20 | 0:5 2.000000 |
| 21 | 0:5 2.000000 |
| 22 | 0:5 2.000000 |
| 23 | 0:5 2.000000 |
| 24 | 0:6 move second child to first child (temp 4-component vector of float) |
| 25 | 0:6 'v' (temp 4-component vector of float) |
| 26 | 0:6 Construct vec4 (temp 4-component vector of float) |
| 27 | 0:6 'f' (in float) |
| 28 | 0:8 move second child to first child (temp 3-component vector of float) |
| 29 | 0:8 'u' (temp 3-component vector of float) |
| 30 | 0:8 Constant: |
| 31 | 0:8 1.000000 |
| 32 | 0:8 1.000000 |
| 33 | 0:8 1.000000 |
| 34 | 0:9 move second child to first child (temp 3-component vector of float) |
| 35 | 0:9 'u' (temp 3-component vector of float) |
| 36 | 0:9 Constant: |
| 37 | 0:9 2.000000 |
| 38 | 0:9 2.000000 |
| 39 | 0:9 2.000000 |
| 40 | 0:10 move second child to first child (temp 3-component vector of float) |
| 41 | 0:10 'u' (temp 3-component vector of float) |
| 42 | 0:10 Construct vec3 (temp 3-component vector of float) |
| 43 | 0:10 Construct float (temp float) |
| 44 | 0:10 'f' (in float) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 45 | 0:11 Sequence |
| 46 | 0:11 move second child to first child (temp 2-component vector of float) |
| 47 | 0:11 'w' (temp 2-component vector of float) |
| 48 | 0:11 Constant: |
| 49 | 0:11 2.000000 |
| 50 | 0:11 2.000000 |
| 51 | 0:12 Sequence |
| 52 | 0:12 move second child to first child (temp float) |
| 53 | 0:12 'V' (temp float) |
| 54 | 0:12 Constant: |
| 55 | 0:12 1.000000 |
| 56 | 0:13 Sequence |
| 57 | 0:13 move second child to first child (temp 3-component vector of float) |
| 58 | 0:13 'MyVal' (temp 3-component vector of float) |
| 59 | 0:13 Construct vec3 (temp 3-component vector of float) |
| 60 | 0:13 'V' (temp float) |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 61 | 0:16 Compare Greater Than (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 62 | 0:16 'foo' (temp 3-component vector of float) |
| 63 | 0:16 Constant: |
| 64 | 0:16 4.000000 |
| 65 | 0:16 4.000000 |
| 66 | 0:16 4.000000 |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 67 | 0:17 Compare Greater Than or Equal (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 68 | 0:17 'foo' (temp 3-component vector of float) |
| 69 | 0:17 Constant: |
| 70 | 0:17 5.000000 |
| 71 | 0:17 5.000000 |
| 72 | 0:17 5.000000 |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 73 | 0:18 Compare Less Than (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 74 | 0:18 Constant: |
| 75 | 0:18 6.000000 |
| 76 | 0:18 6.000000 |
| 77 | 0:18 6.000000 |
| 78 | 0:18 'foo' (temp 3-component vector of float) |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 79 | 0:19 Compare Less Than or Equal (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 80 | 0:19 Constant: |
| 81 | 0:19 7.000000 |
| 82 | 0:19 7.000000 |
| 83 | 0:19 7.000000 |
| 84 | 0:19 'foo' (temp 3-component vector of float) |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 85 | 0:21 all (global bool) |
| 86 | 0:21 Equal (temp 4-component vector of bool) |
| 87 | 0:21 Construct vec4 (temp 4-component vector of float) |
| 88 | 0:21 direct index (temp float) |
| 89 | 0:21 'v' (temp 4-component vector of float) |
| 90 | 0:21 Constant: |
| 91 | 0:21 0 (const int) |
| 92 | 0:21 'v' (temp 4-component vector of float) |
| 93 | 0:22 any (global bool) |
| 94 | 0:22 NotEqual (temp 4-component vector of bool) |
| 95 | 0:22 Construct vec4 (temp 4-component vector of float) |
| 96 | 0:22 'f' (in float) |
| 97 | 0:22 'v' (temp 4-component vector of float) |
John Kessenich | 841db35 | 2016-09-02 21:12:23 -0600 | [diff] [blame] | 98 | 0:26 Compare Equal (temp bool) |
| 99 | 0:26 'f1' (temp 1-component vector of float) |
| 100 | 0:26 Construct float (temp 1-component vector of float) |
| 101 | 0:26 'v' (temp 4-component vector of float) |
| 102 | 0:27 Compare Less Than (temp bool) |
| 103 | 0:27 Construct float (temp 1-component vector of float) |
| 104 | 0:27 'v' (temp 4-component vector of float) |
| 105 | 0:27 'f1' (temp 1-component vector of float) |
John Kessenich | 7d01bd6 | 2016-09-02 22:21:25 -0600 | [diff] [blame] | 106 | 0:28 Construct float (temp float) |
| 107 | 0:28 'f1' (temp 1-component vector of float) |
| 108 | 0:29 Construct vec3 (temp 3-component vector of float) |
| 109 | 0:29 Construct float (temp float) |
| 110 | 0:29 'f1' (temp 1-component vector of float) |
| 111 | 0:31 Branch: Return with expression |
| 112 | 0:31 'input' (in 4-component vector of float) |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 113 | 0:? Linker Objects |
| 114 | |
| 115 | |
| 116 | Linked fragment stage: |
| 117 | |
| 118 | |
| 119 | Shader version: 450 |
| 120 | gl_FragCoord origin is upper left |
| 121 | 0:? Sequence |
John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 122 | 0:2 Function Definition: PixelShaderFunction(vf4;f1; (temp 4-component vector of float) |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 123 | 0:2 Function Parameters: |
| 124 | 0:2 'input' (in 4-component vector of float) |
| 125 | 0:2 'f' (in float) |
| 126 | 0:? Sequence |
| 127 | 0:4 move second child to first child (temp 4-component vector of float) |
| 128 | 0:4 'v' (temp 4-component vector of float) |
| 129 | 0:4 Constant: |
| 130 | 0:4 1.000000 |
| 131 | 0:4 1.000000 |
| 132 | 0:4 1.000000 |
| 133 | 0:4 1.000000 |
| 134 | 0:5 move second child to first child (temp 4-component vector of float) |
| 135 | 0:5 'v' (temp 4-component vector of float) |
| 136 | 0:5 Constant: |
| 137 | 0:5 2.000000 |
| 138 | 0:5 2.000000 |
| 139 | 0:5 2.000000 |
| 140 | 0:5 2.000000 |
| 141 | 0:6 move second child to first child (temp 4-component vector of float) |
| 142 | 0:6 'v' (temp 4-component vector of float) |
| 143 | 0:6 Construct vec4 (temp 4-component vector of float) |
| 144 | 0:6 'f' (in float) |
| 145 | 0:8 move second child to first child (temp 3-component vector of float) |
| 146 | 0:8 'u' (temp 3-component vector of float) |
| 147 | 0:8 Constant: |
| 148 | 0:8 1.000000 |
| 149 | 0:8 1.000000 |
| 150 | 0:8 1.000000 |
| 151 | 0:9 move second child to first child (temp 3-component vector of float) |
| 152 | 0:9 'u' (temp 3-component vector of float) |
| 153 | 0:9 Constant: |
| 154 | 0:9 2.000000 |
| 155 | 0:9 2.000000 |
| 156 | 0:9 2.000000 |
| 157 | 0:10 move second child to first child (temp 3-component vector of float) |
| 158 | 0:10 'u' (temp 3-component vector of float) |
| 159 | 0:10 Construct vec3 (temp 3-component vector of float) |
| 160 | 0:10 Construct float (temp float) |
| 161 | 0:10 'f' (in float) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 162 | 0:11 Sequence |
| 163 | 0:11 move second child to first child (temp 2-component vector of float) |
| 164 | 0:11 'w' (temp 2-component vector of float) |
| 165 | 0:11 Constant: |
| 166 | 0:11 2.000000 |
| 167 | 0:11 2.000000 |
| 168 | 0:12 Sequence |
| 169 | 0:12 move second child to first child (temp float) |
| 170 | 0:12 'V' (temp float) |
| 171 | 0:12 Constant: |
| 172 | 0:12 1.000000 |
| 173 | 0:13 Sequence |
| 174 | 0:13 move second child to first child (temp 3-component vector of float) |
| 175 | 0:13 'MyVal' (temp 3-component vector of float) |
| 176 | 0:13 Construct vec3 (temp 3-component vector of float) |
| 177 | 0:13 'V' (temp float) |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 178 | 0:16 Compare Greater Than (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 179 | 0:16 'foo' (temp 3-component vector of float) |
| 180 | 0:16 Constant: |
| 181 | 0:16 4.000000 |
| 182 | 0:16 4.000000 |
| 183 | 0:16 4.000000 |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 184 | 0:17 Compare Greater Than or Equal (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 185 | 0:17 'foo' (temp 3-component vector of float) |
| 186 | 0:17 Constant: |
| 187 | 0:17 5.000000 |
| 188 | 0:17 5.000000 |
| 189 | 0:17 5.000000 |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 190 | 0:18 Compare Less Than (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 191 | 0:18 Constant: |
| 192 | 0:18 6.000000 |
| 193 | 0:18 6.000000 |
| 194 | 0:18 6.000000 |
| 195 | 0:18 'foo' (temp 3-component vector of float) |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 196 | 0:19 Compare Less Than or Equal (temp 3-component vector of bool) |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 197 | 0:19 Constant: |
| 198 | 0:19 7.000000 |
| 199 | 0:19 7.000000 |
| 200 | 0:19 7.000000 |
| 201 | 0:19 'foo' (temp 3-component vector of float) |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 202 | 0:21 all (global bool) |
| 203 | 0:21 Equal (temp 4-component vector of bool) |
| 204 | 0:21 Construct vec4 (temp 4-component vector of float) |
| 205 | 0:21 direct index (temp float) |
| 206 | 0:21 'v' (temp 4-component vector of float) |
| 207 | 0:21 Constant: |
| 208 | 0:21 0 (const int) |
| 209 | 0:21 'v' (temp 4-component vector of float) |
| 210 | 0:22 any (global bool) |
| 211 | 0:22 NotEqual (temp 4-component vector of bool) |
| 212 | 0:22 Construct vec4 (temp 4-component vector of float) |
| 213 | 0:22 'f' (in float) |
| 214 | 0:22 'v' (temp 4-component vector of float) |
John Kessenich | 841db35 | 2016-09-02 21:12:23 -0600 | [diff] [blame] | 215 | 0:26 Compare Equal (temp bool) |
| 216 | 0:26 'f1' (temp 1-component vector of float) |
| 217 | 0:26 Construct float (temp 1-component vector of float) |
| 218 | 0:26 'v' (temp 4-component vector of float) |
| 219 | 0:27 Compare Less Than (temp bool) |
| 220 | 0:27 Construct float (temp 1-component vector of float) |
| 221 | 0:27 'v' (temp 4-component vector of float) |
| 222 | 0:27 'f1' (temp 1-component vector of float) |
John Kessenich | 7d01bd6 | 2016-09-02 22:21:25 -0600 | [diff] [blame] | 223 | 0:28 Construct float (temp float) |
| 224 | 0:28 'f1' (temp 1-component vector of float) |
| 225 | 0:29 Construct vec3 (temp 3-component vector of float) |
| 226 | 0:29 Construct float (temp float) |
| 227 | 0:29 'f1' (temp 1-component vector of float) |
| 228 | 0:31 Branch: Return with expression |
| 229 | 0:31 'input' (in 4-component vector of float) |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 230 | 0:? Linker Objects |
| 231 | |
| 232 | // Module Version 10000 |
| 233 | // Generated by (magic number): 80001 |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 234 | // Id's are bound by 85 |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 235 | |
| 236 | Capability Shader |
| 237 | 1: ExtInstImport "GLSL.std.450" |
| 238 | MemoryModel Logical GLSL450 |
| 239 | EntryPoint Fragment 4 "main" |
| 240 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 241 | Name 4 "main" |
| 242 | Name 13 "PixelShaderFunction(vf4;f1;" |
| 243 | Name 11 "input" |
| 244 | Name 12 "f" |
| 245 | Name 15 "v" |
| 246 | Name 24 "u" |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 247 | Name 31 "w" |
| 248 | Name 33 "V" |
| 249 | Name 34 "MyVal" |
| 250 | Name 37 "foo" |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 251 | Name 70 "f1" |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 252 | 2: TypeVoid |
| 253 | 3: TypeFunction 2 |
| 254 | 6: TypeFloat 32 |
| 255 | 7: TypeVector 6(float) 4 |
| 256 | 8: TypePointer Function 7(fvec4) |
| 257 | 9: TypePointer Function 6(float) |
| 258 | 10: TypeFunction 7(fvec4) 8(ptr) 9(ptr) |
| 259 | 16: 6(float) Constant 1065353216 |
| 260 | 17: 7(fvec4) ConstantComposite 16 16 16 16 |
| 261 | 18: 6(float) Constant 1073741824 |
| 262 | 19: 7(fvec4) ConstantComposite 18 18 18 18 |
| 263 | 22: TypeVector 6(float) 3 |
| 264 | 23: TypePointer Function 22(fvec3) |
| 265 | 25: 22(fvec3) ConstantComposite 16 16 16 |
| 266 | 26: 22(fvec3) ConstantComposite 18 18 18 |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 267 | 29: TypeVector 6(float) 2 |
| 268 | 30: TypePointer Function 29(fvec2) |
| 269 | 32: 29(fvec2) ConstantComposite 18 18 |
| 270 | 39: 6(float) Constant 1082130432 |
| 271 | 40: 22(fvec3) ConstantComposite 39 39 39 |
| 272 | 41: TypeBool |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 273 | 42: TypeVector 41(bool) 3 |
| 274 | 45: 6(float) Constant 1084227584 |
| 275 | 46: 22(fvec3) ConstantComposite 45 45 45 |
| 276 | 48: 6(float) Constant 1086324736 |
| 277 | 49: 22(fvec3) ConstantComposite 48 48 48 |
| 278 | 52: 6(float) Constant 1088421888 |
| 279 | 53: 22(fvec3) ConstantComposite 52 52 52 |
| 280 | 56: TypeInt 32 0 |
| 281 | 57: 56(int) Constant 0 |
| 282 | 62: TypeVector 41(bool) 4 |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 283 | 4(main): 2 Function None 3 |
| 284 | 5: Label |
| 285 | FunctionEnd |
| 286 | 13(PixelShaderFunction(vf4;f1;): 7(fvec4) Function None 10 |
| 287 | 11(input): 8(ptr) FunctionParameter |
| 288 | 12(f): 9(ptr) FunctionParameter |
| 289 | 14: Label |
| 290 | 15(v): 8(ptr) Variable Function |
| 291 | 24(u): 23(ptr) Variable Function |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 292 | 31(w): 30(ptr) Variable Function |
| 293 | 33(V): 9(ptr) Variable Function |
| 294 | 34(MyVal): 23(ptr) Variable Function |
| 295 | 37(foo): 23(ptr) Variable Function |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 296 | 70(f1): 9(ptr) Variable Function |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 297 | Store 15(v) 17 |
| 298 | Store 15(v) 19 |
| 299 | 20: 6(float) Load 12(f) |
| 300 | 21: 7(fvec4) CompositeConstruct 20 20 20 20 |
| 301 | Store 15(v) 21 |
| 302 | Store 24(u) 25 |
| 303 | Store 24(u) 26 |
| 304 | 27: 6(float) Load 12(f) |
| 305 | 28: 22(fvec3) CompositeConstruct 27 27 27 |
| 306 | Store 24(u) 28 |
John Kessenich | 4583b61 | 2016-08-07 19:14:22 -0600 | [diff] [blame] | 307 | Store 31(w) 32 |
| 308 | Store 33(V) 16 |
| 309 | 35: 6(float) Load 33(V) |
| 310 | 36: 22(fvec3) CompositeConstruct 35 35 35 |
| 311 | Store 34(MyVal) 36 |
| 312 | 38: 22(fvec3) Load 37(foo) |
steve-lunarg | 85244d7 | 2016-10-21 16:43:38 -0600 | [diff] [blame] | 313 | 43: 42(bvec3) FOrdGreaterThan 38 40 |
| 314 | 44: 22(fvec3) Load 37(foo) |
| 315 | 47: 42(bvec3) FOrdGreaterThanEqual 44 46 |
| 316 | 50: 22(fvec3) Load 37(foo) |
| 317 | 51: 42(bvec3) FOrdLessThan 49 50 |
| 318 | 54: 22(fvec3) Load 37(foo) |
| 319 | 55: 42(bvec3) FOrdLessThanEqual 53 54 |
| 320 | 58: 9(ptr) AccessChain 15(v) 57 |
| 321 | 59: 6(float) Load 58 |
| 322 | 60: 7(fvec4) CompositeConstruct 59 59 59 59 |
| 323 | 61: 7(fvec4) Load 15(v) |
| 324 | 63: 62(bvec4) FOrdEqual 60 61 |
| 325 | 64: 41(bool) All 63 |
| 326 | 65: 6(float) Load 12(f) |
| 327 | 66: 7(fvec4) CompositeConstruct 65 65 65 65 |
| 328 | 67: 7(fvec4) Load 15(v) |
| 329 | 68: 62(bvec4) FOrdNotEqual 66 67 |
| 330 | 69: 41(bool) Any 68 |
| 331 | 71: 6(float) Load 70(f1) |
| 332 | 72: 7(fvec4) Load 15(v) |
| 333 | 73: 6(float) CompositeExtract 72 0 |
| 334 | 74: 41(bool) FOrdEqual 71 73 |
| 335 | 75: 7(fvec4) Load 15(v) |
| 336 | 76: 6(float) CompositeExtract 75 0 |
| 337 | 77: 6(float) Load 70(f1) |
| 338 | 78: 41(bool) FOrdLessThan 76 77 |
| 339 | 79: 6(float) Load 70(f1) |
| 340 | 80: 6(float) Load 70(f1) |
| 341 | 81: 22(fvec3) CompositeConstruct 80 80 80 |
| 342 | 82: 7(fvec4) Load 11(input) |
| 343 | ReturnValue 82 |
John Kessenich | fea226b | 2016-07-28 17:53:56 -0600 | [diff] [blame] | 344 | FunctionEnd |