1 hlsl.logical.binary.vec.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:10 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 6 0:10 Function Parameters: 7 0:? Sequence 8 0:11 Sequence 9 0:11 move second child to first child ( temp 4-component vector of bool) 10 0:11 'r00' ( temp 4-component vector of bool) 11 0:11 Negate conditional ( temp 4-component vector of bool) 12 0:11 b4a: direct index for structure ( uniform 4-component vector of bool) 13 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 14 0:11 Constant: 15 0:11 0 (const uint) 16 0:12 Sequence 17 0:12 move second child to first child ( temp 4-component vector of bool) 18 0:12 'r01' ( temp 4-component vector of bool) 19 0:12 logical-and ( temp 4-component vector of bool) 20 0:12 b4a: direct index for structure ( uniform 4-component vector of bool) 21 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 22 0:12 Constant: 23 0:12 0 (const uint) 24 0:12 b4b: direct index for structure ( uniform 4-component vector of bool) 25 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 26 0:12 Constant: 27 0:12 1 (const uint) 28 0:13 Sequence 29 0:13 move second child to first child ( temp 4-component vector of bool) 30 0:13 'r02' ( temp 4-component vector of bool) 31 0:13 logical-or ( temp 4-component vector of bool) 32 0:13 b4a: direct index for structure ( uniform 4-component vector of bool) 33 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 34 0:13 Constant: 35 0:13 0 (const uint) 36 0:13 b4b: direct index for structure ( uniform 4-component vector of bool) 37 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 38 0:13 Constant: 39 0:13 1 (const uint) 40 0:15 Sequence 41 0:15 move second child to first child ( temp 4-component vector of bool) 42 0:15 'r10' ( temp 4-component vector of bool) 43 0:15 logical-and ( temp 4-component vector of bool) 44 0:15 Construct bvec4 ( uniform 4-component vector of bool) 45 0:15 b1a: direct index for structure ( uniform bool) 46 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 47 0:15 Constant: 48 0:15 2 (const uint) 49 0:15 b4b: direct index for structure ( uniform 4-component vector of bool) 50 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 51 0:15 Constant: 52 0:15 1 (const uint) 53 0:16 Sequence 54 0:16 move second child to first child ( temp 4-component vector of bool) 55 0:16 'r11' ( temp 4-component vector of bool) 56 0:16 logical-or ( temp 4-component vector of bool) 57 0:16 Construct bvec4 ( uniform 4-component vector of bool) 58 0:16 b1a: direct index for structure ( uniform bool) 59 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 60 0:16 Constant: 61 0:16 2 (const uint) 62 0:16 b4b: direct index for structure ( uniform 4-component vector of bool) 63 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 64 0:16 Constant: 65 0:16 1 (const uint) 66 0:18 Sequence 67 0:18 move second child to first child ( temp 4-component vector of bool) 68 0:18 'r20' ( temp 4-component vector of bool) 69 0:18 logical-and ( temp 4-component vector of bool) 70 0:18 b4a: direct index for structure ( uniform 4-component vector of bool) 71 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 72 0:18 Constant: 73 0:18 0 (const uint) 74 0:18 Construct bvec4 ( uniform 4-component vector of bool) 75 0:18 b1b: direct index for structure ( uniform bool) 76 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 77 0:18 Constant: 78 0:18 3 (const uint) 79 0:19 Sequence 80 0:19 move second child to first child ( temp 4-component vector of bool) 81 0:19 'r21' ( temp 4-component vector of bool) 82 0:19 logical-or ( temp 4-component vector of bool) 83 0:19 b4a: direct index for structure ( uniform 4-component vector of bool) 84 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 85 0:19 Constant: 86 0:19 0 (const uint) 87 0:19 Construct bvec4 ( uniform 4-component vector of bool) 88 0:19 b1b: direct index for structure ( uniform bool) 89 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 90 0:19 Constant: 91 0:19 3 (const uint) 92 0:22 move second child to first child ( temp 4-component vector of float) 93 0:22 Color: direct index for structure ( temp 4-component vector of float) 94 0:22 'psout' ( temp structure{ temp 4-component vector of float Color}) 95 0:22 Constant: 96 0:22 0 (const int) 97 0:22 Convert bool to float ( temp 4-component vector of float) 98 0:22 logical-or ( temp 4-component vector of bool) 99 0:22 logical-or ( temp 4-component vector of bool) 100 0:22 logical-or ( temp 4-component vector of bool) 101 0:22 logical-or ( temp 4-component vector of bool) 102 0:22 logical-or ( temp 4-component vector of bool) 103 0:22 logical-or ( temp 4-component vector of bool) 104 0:22 'r00' ( temp 4-component vector of bool) 105 0:22 'r01' ( temp 4-component vector of bool) 106 0:22 'r02' ( temp 4-component vector of bool) 107 0:22 'r10' ( temp 4-component vector of bool) 108 0:22 'r11' ( temp 4-component vector of bool) 109 0:22 'r20' ( temp 4-component vector of bool) 110 0:22 'r21' ( temp 4-component vector of bool) 111 0:23 Branch: Return with expression 112 0:23 'psout' ( temp structure{ temp 4-component vector of float Color}) 113 0:10 Function Definition: main( ( temp void) 114 0:10 Function Parameters: 115 0:? Sequence 116 0:10 Sequence 117 0:10 move second child to first child ( temp 4-component vector of float) 118 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 119 0:10 Color: direct index for structure ( temp 4-component vector of float) 120 0:10 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 121 0:10 Constant: 122 0:10 0 (const int) 123 0:? Linker Objects 124 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 125 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 126 127 128 Linked fragment stage: 129 130 131 Shader version: 500 132 gl_FragCoord origin is upper left 133 0:? Sequence 134 0:10 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) 135 0:10 Function Parameters: 136 0:? Sequence 137 0:11 Sequence 138 0:11 move second child to first child ( temp 4-component vector of bool) 139 0:11 'r00' ( temp 4-component vector of bool) 140 0:11 Negate conditional ( temp 4-component vector of bool) 141 0:11 b4a: direct index for structure ( uniform 4-component vector of bool) 142 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 143 0:11 Constant: 144 0:11 0 (const uint) 145 0:12 Sequence 146 0:12 move second child to first child ( temp 4-component vector of bool) 147 0:12 'r01' ( temp 4-component vector of bool) 148 0:12 logical-and ( temp 4-component vector of bool) 149 0:12 b4a: direct index for structure ( uniform 4-component vector of bool) 150 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 151 0:12 Constant: 152 0:12 0 (const uint) 153 0:12 b4b: direct index for structure ( uniform 4-component vector of bool) 154 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 155 0:12 Constant: 156 0:12 1 (const uint) 157 0:13 Sequence 158 0:13 move second child to first child ( temp 4-component vector of bool) 159 0:13 'r02' ( temp 4-component vector of bool) 160 0:13 logical-or ( temp 4-component vector of bool) 161 0:13 b4a: direct index for structure ( uniform 4-component vector of bool) 162 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 163 0:13 Constant: 164 0:13 0 (const uint) 165 0:13 b4b: direct index for structure ( uniform 4-component vector of bool) 166 0:13 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 167 0:13 Constant: 168 0:13 1 (const uint) 169 0:15 Sequence 170 0:15 move second child to first child ( temp 4-component vector of bool) 171 0:15 'r10' ( temp 4-component vector of bool) 172 0:15 logical-and ( temp 4-component vector of bool) 173 0:15 Construct bvec4 ( uniform 4-component vector of bool) 174 0:15 b1a: direct index for structure ( uniform bool) 175 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 176 0:15 Constant: 177 0:15 2 (const uint) 178 0:15 b4b: direct index for structure ( uniform 4-component vector of bool) 179 0:15 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 180 0:15 Constant: 181 0:15 1 (const uint) 182 0:16 Sequence 183 0:16 move second child to first child ( temp 4-component vector of bool) 184 0:16 'r11' ( temp 4-component vector of bool) 185 0:16 logical-or ( temp 4-component vector of bool) 186 0:16 Construct bvec4 ( uniform 4-component vector of bool) 187 0:16 b1a: direct index for structure ( uniform bool) 188 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 189 0:16 Constant: 190 0:16 2 (const uint) 191 0:16 b4b: direct index for structure ( uniform 4-component vector of bool) 192 0:16 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 193 0:16 Constant: 194 0:16 1 (const uint) 195 0:18 Sequence 196 0:18 move second child to first child ( temp 4-component vector of bool) 197 0:18 'r20' ( temp 4-component vector of bool) 198 0:18 logical-and ( temp 4-component vector of bool) 199 0:18 b4a: direct index for structure ( uniform 4-component vector of bool) 200 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 201 0:18 Constant: 202 0:18 0 (const uint) 203 0:18 Construct bvec4 ( uniform 4-component vector of bool) 204 0:18 b1b: direct index for structure ( uniform bool) 205 0:18 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 206 0:18 Constant: 207 0:18 3 (const uint) 208 0:19 Sequence 209 0:19 move second child to first child ( temp 4-component vector of bool) 210 0:19 'r21' ( temp 4-component vector of bool) 211 0:19 logical-or ( temp 4-component vector of bool) 212 0:19 b4a: direct index for structure ( uniform 4-component vector of bool) 213 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 214 0:19 Constant: 215 0:19 0 (const uint) 216 0:19 Construct bvec4 ( uniform 4-component vector of bool) 217 0:19 b1b: direct index for structure ( uniform bool) 218 0:19 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 219 0:19 Constant: 220 0:19 3 (const uint) 221 0:22 move second child to first child ( temp 4-component vector of float) 222 0:22 Color: direct index for structure ( temp 4-component vector of float) 223 0:22 'psout' ( temp structure{ temp 4-component vector of float Color}) 224 0:22 Constant: 225 0:22 0 (const int) 226 0:22 Convert bool to float ( temp 4-component vector of float) 227 0:22 logical-or ( temp 4-component vector of bool) 228 0:22 logical-or ( temp 4-component vector of bool) 229 0:22 logical-or ( temp 4-component vector of bool) 230 0:22 logical-or ( temp 4-component vector of bool) 231 0:22 logical-or ( temp 4-component vector of bool) 232 0:22 logical-or ( temp 4-component vector of bool) 233 0:22 'r00' ( temp 4-component vector of bool) 234 0:22 'r01' ( temp 4-component vector of bool) 235 0:22 'r02' ( temp 4-component vector of bool) 236 0:22 'r10' ( temp 4-component vector of bool) 237 0:22 'r11' ( temp 4-component vector of bool) 238 0:22 'r20' ( temp 4-component vector of bool) 239 0:22 'r21' ( temp 4-component vector of bool) 240 0:23 Branch: Return with expression 241 0:23 'psout' ( temp structure{ temp 4-component vector of float Color}) 242 0:10 Function Definition: main( ( temp void) 243 0:10 Function Parameters: 244 0:? Sequence 245 0:10 Sequence 246 0:10 move second child to first child ( temp 4-component vector of float) 247 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 248 0:10 Color: direct index for structure ( temp 4-component vector of float) 249 0:10 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) 250 0:10 Constant: 251 0:10 0 (const int) 252 0:? Linker Objects 253 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of bool b4a, uniform 4-component vector of bool b4b, uniform bool b1a, uniform bool b1b}) 254 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 255 256 // Module Version 10000 257 // Generated by (magic number): 80007 258 // Id's are bound by 115 259 260 Capability Shader 261 1: ExtInstImport "GLSL.std.450" 262 MemoryModel Logical GLSL450 263 EntryPoint Fragment 4 "main" 112 264 ExecutionMode 4 OriginUpperLeft 265 Source HLSL 500 266 Name 4 "main" 267 Name 8 "PS_OUTPUT" 268 MemberName 8(PS_OUTPUT) 0 "Color" 269 Name 10 "@main(" 270 Name 15 "r00" 271 Name 18 "$Global" 272 MemberName 18($Global) 0 "b4a" 273 MemberName 18($Global) 1 "b4b" 274 MemberName 18($Global) 2 "b1a" 275 MemberName 18($Global) 3 "b1b" 276 Name 20 "" 277 Name 30 "r01" 278 Name 39 "r02" 279 Name 47 "r10" 280 Name 58 "r11" 281 Name 67 "r20" 282 Name 77 "r21" 283 Name 87 "psout" 284 Name 112 "@entryPointOutput.Color" 285 MemberDecorate 18($Global) 0 Offset 0 286 MemberDecorate 18($Global) 1 Offset 16 287 MemberDecorate 18($Global) 2 Offset 32 288 MemberDecorate 18($Global) 3 Offset 36 289 Decorate 18($Global) Block 290 Decorate 20 DescriptorSet 0 291 Decorate 20 Binding 0 292 Decorate 112(@entryPointOutput.Color) Location 0 293 2: TypeVoid 294 3: TypeFunction 2 295 6: TypeFloat 32 296 7: TypeVector 6(float) 4 297 8(PS_OUTPUT): TypeStruct 7(fvec4) 298 9: TypeFunction 8(PS_OUTPUT) 299 12: TypeBool 300 13: TypeVector 12(bool) 4 301 14: TypePointer Function 13(bvec4) 302 16: TypeInt 32 0 303 17: TypeVector 16(int) 4 304 18($Global): TypeStruct 17(ivec4) 17(ivec4) 16(int) 16(int) 305 19: TypePointer Uniform 18($Global) 306 20: 19(ptr) Variable Uniform 307 21: TypeInt 32 1 308 22: 21(int) Constant 0 309 23: TypePointer Uniform 17(ivec4) 310 26: 16(int) Constant 0 311 27: 17(ivec4) ConstantComposite 26 26 26 26 312 34: 21(int) Constant 1 313 48: 21(int) Constant 2 314 49: TypePointer Uniform 16(int) 315 71: 21(int) Constant 3 316 86: TypePointer Function 8(PS_OUTPUT) 317 101: 6(float) Constant 0 318 102: 6(float) Constant 1065353216 319 103: 7(fvec4) ConstantComposite 101 101 101 101 320 104: 7(fvec4) ConstantComposite 102 102 102 102 321 106: TypePointer Function 7(fvec4) 322 111: TypePointer Output 7(fvec4) 323 112(@entryPointOutput.Color): 111(ptr) Variable Output 324 4(main): 2 Function None 3 325 5: Label 326 113:8(PS_OUTPUT) FunctionCall 10(@main() 327 114: 7(fvec4) CompositeExtract 113 0 328 Store 112(@entryPointOutput.Color) 114 329 Return 330 FunctionEnd 331 10(@main():8(PS_OUTPUT) Function None 9 332 11: Label 333 15(r00): 14(ptr) Variable Function 334 30(r01): 14(ptr) Variable Function 335 39(r02): 14(ptr) Variable Function 336 47(r10): 14(ptr) Variable Function 337 58(r11): 14(ptr) Variable Function 338 67(r20): 14(ptr) Variable Function 339 77(r21): 14(ptr) Variable Function 340 87(psout): 86(ptr) Variable Function 341 24: 23(ptr) AccessChain 20 22 342 25: 17(ivec4) Load 24 343 28: 13(bvec4) INotEqual 25 27 344 29: 13(bvec4) LogicalNot 28 345 Store 15(r00) 29 346 31: 23(ptr) AccessChain 20 22 347 32: 17(ivec4) Load 31 348 33: 13(bvec4) INotEqual 32 27 349 35: 23(ptr) AccessChain 20 34 350 36: 17(ivec4) Load 35 351 37: 13(bvec4) INotEqual 36 27 352 38: 13(bvec4) LogicalAnd 33 37 353 Store 30(r01) 38 354 40: 23(ptr) AccessChain 20 22 355 41: 17(ivec4) Load 40 356 42: 13(bvec4) INotEqual 41 27 357 43: 23(ptr) AccessChain 20 34 358 44: 17(ivec4) Load 43 359 45: 13(bvec4) INotEqual 44 27 360 46: 13(bvec4) LogicalOr 42 45 361 Store 39(r02) 46 362 50: 49(ptr) AccessChain 20 48 363 51: 16(int) Load 50 364 52: 12(bool) INotEqual 51 26 365 53: 13(bvec4) CompositeConstruct 52 52 52 52 366 54: 23(ptr) AccessChain 20 34 367 55: 17(ivec4) Load 54 368 56: 13(bvec4) INotEqual 55 27 369 57: 13(bvec4) LogicalAnd 53 56 370 Store 47(r10) 57 371 59: 49(ptr) AccessChain 20 48 372 60: 16(int) Load 59 373 61: 12(bool) INotEqual 60 26 374 62: 13(bvec4) CompositeConstruct 61 61 61 61 375 63: 23(ptr) AccessChain 20 34 376 64: 17(ivec4) Load 63 377 65: 13(bvec4) INotEqual 64 27 378 66: 13(bvec4) LogicalOr 62 65 379 Store 58(r11) 66 380 68: 23(ptr) AccessChain 20 22 381 69: 17(ivec4) Load 68 382 70: 13(bvec4) INotEqual 69 27 383 72: 49(ptr) AccessChain 20 71 384 73: 16(int) Load 72 385 74: 12(bool) INotEqual 73 26 386 75: 13(bvec4) CompositeConstruct 74 74 74 74 387 76: 13(bvec4) LogicalAnd 70 75 388 Store 67(r20) 76 389 78: 23(ptr) AccessChain 20 22 390 79: 17(ivec4) Load 78 391 80: 13(bvec4) INotEqual 79 27 392 81: 49(ptr) AccessChain 20 71 393 82: 16(int) Load 81 394 83: 12(bool) INotEqual 82 26 395 84: 13(bvec4) CompositeConstruct 83 83 83 83 396 85: 13(bvec4) LogicalOr 80 84 397 Store 77(r21) 85 398 88: 13(bvec4) Load 15(r00) 399 89: 13(bvec4) Load 30(r01) 400 90: 13(bvec4) LogicalOr 88 89 401 91: 13(bvec4) Load 39(r02) 402 92: 13(bvec4) LogicalOr 90 91 403 93: 13(bvec4) Load 47(r10) 404 94: 13(bvec4) LogicalOr 92 93 405 95: 13(bvec4) Load 58(r11) 406 96: 13(bvec4) LogicalOr 94 95 407 97: 13(bvec4) Load 67(r20) 408 98: 13(bvec4) LogicalOr 96 97 409 99: 13(bvec4) Load 77(r21) 410 100: 13(bvec4) LogicalOr 98 99 411 105: 7(fvec4) Select 100 104 103 412 107: 106(ptr) AccessChain 87(psout) 22 413 Store 107 105 414 108:8(PS_OUTPUT) Load 87(psout) 415 ReturnValue 108 416 FunctionEnd 417