1 vulkan.ast.vert 2 Shader version: 450 3 0:? Sequence 4 0:7 Function Definition: main( ( global void) 5 0:7 Function Parameters: 6 0:9 Sequence 7 0:9 Convert float to bool ( temp bool) 8 0:9 'scf1' ( specialization-constant const highp float) 9 0:9 1.000000 10 0:10 Construct bool ( specialization-constant const bool) 11 0:10 'scbt' ( specialization-constant const bool) 12 0:10 true (const bool) 13 0:11 Convert int to bool ( specialization-constant const bool) 14 0:11 'sci2' ( specialization-constant const highp int) 15 0:11 2 (const int) 16 0:13 Construct float ( temp float) 17 0:13 'scf1' ( specialization-constant const highp float) 18 0:13 1.000000 19 0:14 Convert bool to float ( temp float) 20 0:14 'scbt' ( specialization-constant const bool) 21 0:14 true (const bool) 22 0:15 Convert int to float ( temp float) 23 0:15 'sci2' ( specialization-constant const highp int) 24 0:15 2 (const int) 25 0:17 Convert float to int ( temp int) 26 0:17 'scf1' ( specialization-constant const highp float) 27 0:17 1.000000 28 0:18 Convert bool to int ( specialization-constant const int) 29 0:18 'scbt' ( specialization-constant const bool) 30 0:18 true (const bool) 31 0:19 Construct int ( specialization-constant const int) 32 0:19 'sci2' ( specialization-constant const highp int) 33 0:19 2 (const int) 34 0:21 component-wise multiply ( temp highp float) 35 0:21 'scf1' ( specialization-constant const highp float) 36 0:21 1.000000 37 0:21 'scf1' ( specialization-constant const highp float) 38 0:21 1.000000 39 0:22 logical-or ( specialization-constant const bool) 40 0:22 'scbt' ( specialization-constant const bool) 41 0:22 true (const bool) 42 0:22 'scbt' ( specialization-constant const bool) 43 0:22 true (const bool) 44 0:23 component-wise multiply ( specialization-constant const highp int) 45 0:23 'sci2' ( specialization-constant const highp int) 46 0:23 2 (const int) 47 0:23 'sci2' ( specialization-constant const highp int) 48 0:23 2 (const int) 49 0:24 add ( temp highp float) 50 0:24 'scf1' ( specialization-constant const highp float) 51 0:24 1.000000 52 0:24 Convert int to float ( temp highp float) 53 0:24 'sci2' ( specialization-constant const highp int) 54 0:24 2 (const int) 55 0:26 Negate value ( temp highp float) 56 0:26 'scf1' ( specialization-constant const highp float) 57 0:26 1.000000 58 0:27 Negate conditional ( specialization-constant const bool) 59 0:27 'scbt' ( specialization-constant const bool) 60 0:27 true (const bool) 61 0:28 Negate value ( specialization-constant const highp int) 62 0:28 'sci2' ( specialization-constant const highp int) 63 0:28 2 (const int) 64 0:30 Compare Greater Than ( temp bool) 65 0:30 'scf1' ( specialization-constant const highp float) 66 0:30 1.000000 67 0:30 'scf1' ( specialization-constant const highp float) 68 0:30 1.000000 69 0:31 Compare Greater Than ( specialization-constant const bool) 70 0:31 'sci2' ( specialization-constant const highp int) 71 0:31 2 (const int) 72 0:31 'sci2' ( specialization-constant const highp int) 73 0:31 2 (const int) 74 0:33 Compare Not Equal ( temp bool) 75 0:33 'scf1' ( specialization-constant const highp float) 76 0:33 1.000000 77 0:33 'scf1' ( specialization-constant const highp float) 78 0:33 1.000000 79 0:34 Compare Not Equal ( specialization-constant const bool) 80 0:34 'scbt' ( specialization-constant const bool) 81 0:34 true (const bool) 82 0:34 'scbt' ( specialization-constant const bool) 83 0:34 true (const bool) 84 0:35 Compare Not Equal ( specialization-constant const bool) 85 0:35 'sci2' ( specialization-constant const highp int) 86 0:35 2 (const int) 87 0:35 'sci2' ( specialization-constant const highp int) 88 0:35 2 (const int) 89 0:37 Construct ivec2 ( specialization-constant const 2-component vector of int) 90 0:37 'sci2' ( specialization-constant const highp int) 91 0:37 2 (const int) 92 0:37 'sci2' ( specialization-constant const highp int) 93 0:37 2 (const int) 94 0:38 Construct ivec2 ( temp 2-element array of 2-component vector of int) 95 0:38 Construct ivec2 ( specialization-constant const 2-component vector of int) 96 0:38 'sci2' ( specialization-constant const highp int) 97 0:38 2 (const int) 98 0:38 'sci2' ( specialization-constant const highp int) 99 0:38 2 (const int) 100 0:38 Construct ivec2 ( specialization-constant const 2-component vector of int) 101 0:38 'sci2' ( specialization-constant const highp int) 102 0:38 2 (const int) 103 0:38 'sci2' ( specialization-constant const highp int) 104 0:38 2 (const int) 105 0:40 Construct vec2 ( temp 2-component vector of float) 106 0:40 'scf1' ( specialization-constant const highp float) 107 0:40 1.000000 108 0:40 'scf1' ( specialization-constant const highp float) 109 0:40 1.000000 110 0:41 Construct vec2 ( temp 2-element array of 2-component vector of float) 111 0:41 Construct vec2 ( temp 2-component vector of float) 112 0:41 'scf1' ( specialization-constant const highp float) 113 0:41 1.000000 114 0:41 'scf1' ( specialization-constant const highp float) 115 0:41 1.000000 116 0:41 Construct vec2 ( temp 2-component vector of float) 117 0:41 'scf1' ( specialization-constant const highp float) 118 0:41 1.000000 119 0:41 'scf1' ( specialization-constant const highp float) 120 0:41 1.000000 121 0:? Linker Objects 122 0:? 'scf1' ( specialization-constant const highp float) 123 0:? 1.000000 124 0:? 'scbt' ( specialization-constant const bool) 125 0:? true (const bool) 126 0:? 'sci2' ( specialization-constant const highp int) 127 0:? 2 (const int) 128 129 130 Linked vertex stage: 131 132 133 Shader version: 450 134 0:? Sequence 135 0:7 Function Definition: main( ( global void) 136 0:7 Function Parameters: 137 0:9 Sequence 138 0:9 Convert float to bool ( temp bool) 139 0:9 'scf1' ( specialization-constant const highp float) 140 0:9 1.000000 141 0:10 Construct bool ( specialization-constant const bool) 142 0:10 'scbt' ( specialization-constant const bool) 143 0:10 true (const bool) 144 0:11 Convert int to bool ( specialization-constant const bool) 145 0:11 'sci2' ( specialization-constant const highp int) 146 0:11 2 (const int) 147 0:13 Construct float ( temp float) 148 0:13 'scf1' ( specialization-constant const highp float) 149 0:13 1.000000 150 0:14 Convert bool to float ( temp float) 151 0:14 'scbt' ( specialization-constant const bool) 152 0:14 true (const bool) 153 0:15 Convert int to float ( temp float) 154 0:15 'sci2' ( specialization-constant const highp int) 155 0:15 2 (const int) 156 0:17 Convert float to int ( temp int) 157 0:17 'scf1' ( specialization-constant const highp float) 158 0:17 1.000000 159 0:18 Convert bool to int ( specialization-constant const int) 160 0:18 'scbt' ( specialization-constant const bool) 161 0:18 true (const bool) 162 0:19 Construct int ( specialization-constant const int) 163 0:19 'sci2' ( specialization-constant const highp int) 164 0:19 2 (const int) 165 0:21 component-wise multiply ( temp highp float) 166 0:21 'scf1' ( specialization-constant const highp float) 167 0:21 1.000000 168 0:21 'scf1' ( specialization-constant const highp float) 169 0:21 1.000000 170 0:22 logical-or ( specialization-constant const bool) 171 0:22 'scbt' ( specialization-constant const bool) 172 0:22 true (const bool) 173 0:22 'scbt' ( specialization-constant const bool) 174 0:22 true (const bool) 175 0:23 component-wise multiply ( specialization-constant const highp int) 176 0:23 'sci2' ( specialization-constant const highp int) 177 0:23 2 (const int) 178 0:23 'sci2' ( specialization-constant const highp int) 179 0:23 2 (const int) 180 0:24 add ( temp highp float) 181 0:24 'scf1' ( specialization-constant const highp float) 182 0:24 1.000000 183 0:24 Convert int to float ( temp highp float) 184 0:24 'sci2' ( specialization-constant const highp int) 185 0:24 2 (const int) 186 0:26 Negate value ( temp highp float) 187 0:26 'scf1' ( specialization-constant const highp float) 188 0:26 1.000000 189 0:27 Negate conditional ( specialization-constant const bool) 190 0:27 'scbt' ( specialization-constant const bool) 191 0:27 true (const bool) 192 0:28 Negate value ( specialization-constant const highp int) 193 0:28 'sci2' ( specialization-constant const highp int) 194 0:28 2 (const int) 195 0:30 Compare Greater Than ( temp bool) 196 0:30 'scf1' ( specialization-constant const highp float) 197 0:30 1.000000 198 0:30 'scf1' ( specialization-constant const highp float) 199 0:30 1.000000 200 0:31 Compare Greater Than ( specialization-constant const bool) 201 0:31 'sci2' ( specialization-constant const highp int) 202 0:31 2 (const int) 203 0:31 'sci2' ( specialization-constant const highp int) 204 0:31 2 (const int) 205 0:33 Compare Not Equal ( temp bool) 206 0:33 'scf1' ( specialization-constant const highp float) 207 0:33 1.000000 208 0:33 'scf1' ( specialization-constant const highp float) 209 0:33 1.000000 210 0:34 Compare Not Equal ( specialization-constant const bool) 211 0:34 'scbt' ( specialization-constant const bool) 212 0:34 true (const bool) 213 0:34 'scbt' ( specialization-constant const bool) 214 0:34 true (const bool) 215 0:35 Compare Not Equal ( specialization-constant const bool) 216 0:35 'sci2' ( specialization-constant const highp int) 217 0:35 2 (const int) 218 0:35 'sci2' ( specialization-constant const highp int) 219 0:35 2 (const int) 220 0:37 Construct ivec2 ( specialization-constant const 2-component vector of int) 221 0:37 'sci2' ( specialization-constant const highp int) 222 0:37 2 (const int) 223 0:37 'sci2' ( specialization-constant const highp int) 224 0:37 2 (const int) 225 0:38 Construct ivec2 ( temp 2-element array of 2-component vector of int) 226 0:38 Construct ivec2 ( specialization-constant const 2-component vector of int) 227 0:38 'sci2' ( specialization-constant const highp int) 228 0:38 2 (const int) 229 0:38 'sci2' ( specialization-constant const highp int) 230 0:38 2 (const int) 231 0:38 Construct ivec2 ( specialization-constant const 2-component vector of int) 232 0:38 'sci2' ( specialization-constant const highp int) 233 0:38 2 (const int) 234 0:38 'sci2' ( specialization-constant const highp int) 235 0:38 2 (const int) 236 0:40 Construct vec2 ( temp 2-component vector of float) 237 0:40 'scf1' ( specialization-constant const highp float) 238 0:40 1.000000 239 0:40 'scf1' ( specialization-constant const highp float) 240 0:40 1.000000 241 0:41 Construct vec2 ( temp 2-element array of 2-component vector of float) 242 0:41 Construct vec2 ( temp 2-component vector of float) 243 0:41 'scf1' ( specialization-constant const highp float) 244 0:41 1.000000 245 0:41 'scf1' ( specialization-constant const highp float) 246 0:41 1.000000 247 0:41 Construct vec2 ( temp 2-component vector of float) 248 0:41 'scf1' ( specialization-constant const highp float) 249 0:41 1.000000 250 0:41 'scf1' ( specialization-constant const highp float) 251 0:41 1.000000 252 0:? Linker Objects 253 0:? 'scf1' ( specialization-constant const highp float) 254 0:? 1.000000 255 0:? 'scbt' ( specialization-constant const bool) 256 0:? true (const bool) 257 0:? 'sci2' ( specialization-constant const highp int) 258 0:? 2 (const int) 259 260 // Module Version 10000 261 // Generated by (magic number): 80007 262 // Id's are bound by 50 263 264 Capability Shader 265 1: ExtInstImport "GLSL.std.450" 266 MemoryModel Logical GLSL450 267 EntryPoint Vertex 4 "main" 268 Source GLSL 450 269 Name 4 "main" 270 Name 7 "scf1" 271 Name 11 "scbt" 272 Name 13 "sci2" 273 Decorate 7(scf1) SpecId 200 274 Decorate 11(scbt) SpecId 201 275 Decorate 13(sci2) SpecId 202 276 2: TypeVoid 277 3: TypeFunction 2 278 6: TypeFloat 32 279 7(scf1): 6(float) SpecConstant 1065353216 280 8: TypeBool 281 9: 6(float) Constant 0 282 11(scbt): 8(bool) SpecConstantTrue 283 12: TypeInt 32 1 284 13(sci2): 12(int) SpecConstant 2 285 14: TypeInt 32 0 286 15: 14(int) Constant 0 287 16: 8(bool) SpecConstantOp 171 13(sci2) 15 288 17: 6(float) Constant 1065353216 289 21: 12(int) Constant 0 290 22: 12(int) Constant 1 291 23: 12(int) SpecConstantOp 169 11(scbt) 22 21 292 25: 8(bool) SpecConstantOp 166 11(scbt) 11(scbt) 293 26: 12(int) SpecConstantOp 132 13(sci2) 13(sci2) 294 30: 8(bool) SpecConstantOp 168 11(scbt) 295 31: 12(int) SpecConstantOp 126 13(sci2) 296 33: 8(bool) SpecConstantOp 173 13(sci2) 13(sci2) 297 35: 8(bool) SpecConstantOp 165 11(scbt) 11(scbt) 298 36: 8(bool) SpecConstantOp 171 13(sci2) 13(sci2) 299 37: TypeVector 12(int) 2 300 38: 37(ivec2) SpecConstantComposite 13(sci2) 13(sci2) 301 39: 37(ivec2) SpecConstantComposite 13(sci2) 13(sci2) 302 40: 37(ivec2) SpecConstantComposite 13(sci2) 13(sci2) 303 41: 14(int) Constant 2 304 42: TypeArray 37(ivec2) 41 305 44: TypeVector 6(float) 2 306 48: TypeArray 44(fvec2) 41 307 4(main): 2 Function None 3 308 5: Label 309 10: 8(bool) FOrdNotEqual 7(scf1) 9 310 18: 6(float) Select 11(scbt) 17 9 311 19: 6(float) ConvertSToF 13(sci2) 312 20: 12(int) ConvertFToS 7(scf1) 313 24: 6(float) FMul 7(scf1) 7(scf1) 314 27: 6(float) ConvertSToF 13(sci2) 315 28: 6(float) FAdd 7(scf1) 27 316 29: 6(float) FNegate 7(scf1) 317 32: 8(bool) FOrdGreaterThan 7(scf1) 7(scf1) 318 34: 8(bool) FOrdNotEqual 7(scf1) 7(scf1) 319 43: 42 CompositeConstruct 39 40 320 45: 44(fvec2) CompositeConstruct 7(scf1) 7(scf1) 321 46: 44(fvec2) CompositeConstruct 7(scf1) 7(scf1) 322 47: 44(fvec2) CompositeConstruct 7(scf1) 7(scf1) 323 49: 48 CompositeConstruct 46 47 324 Return 325 FunctionEnd 326