| 40 instructions |
| |
| [immutable slots] |
| i0 = 0x3F800000 (1.0) |
| i1 = 0x40000000 (2.0) |
| i2 = 0x40400000 (3.0) |
| i3 = 0x40800000 (4.0) |
| i4 = 0x00000001 (1.401298e-45) |
| i5 = 0x00000002 (2.802597e-45) |
| i6 = 0x00000003 (4.203895e-45) |
| i7 = 0x00000004 (5.605194e-45) |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_constant ok = 0xFFFFFFFF |
| copy_slot_unmasked $0 = ok |
| copy_4_uniforms $1..4 = testMatrix2x2 |
| copy_4_immutables_unmasked $5..8 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)] |
| cmpeq_4_floats $1..4 = equal($1..4, $5..8) |
| bitwise_and_2_ints $1..2 &= $3..4 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_slot_unmasked ok = $0 |
| copy_4_uniforms $1..4 = testMatrix2x2 |
| copy_4_immutables_unmasked $5..8 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)] |
| cmpeq_4_floats $1..4 = equal($1..4, $5..8) |
| bitwise_and_2_ints $1..2 &= $3..4 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_slot_unmasked ok = $0 |
| copy_4_uniforms $1..4 = testMatrix2x2 |
| cast_to_int_from_4_floats $1..4 = FloatToInt($1..4) |
| copy_4_immutables_unmasked $5..8 = i4..7 [0x00000001 (1.401298e-45), 0x00000002 (2.802597e-45), 0x00000003 (4.203895e-45), 0x00000004 (5.605194e-45)] |
| cmpeq_4_ints $1..4 = equal($1..4, $5..8) |
| bitwise_and_2_ints $1..2 &= $3..4 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_slot_unmasked ok = $0 |
| copy_4_uniforms $1..4 = testMatrix2x2 |
| splat_4_constants $5..8 = 0 |
| cmpne_4_floats $1..4 = notEqual($1..4, $5..8) |
| splat_4_constants $5..8 = 0xFFFFFFFF |
| cmpeq_4_ints $1..4 = equal($1..4, $5..8) |
| bitwise_and_2_ints $1..2 &= $3..4 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_slot_unmasked ok = $0 |
| swizzle_4 $0..3 = ($0..3).xxxx |
| copy_4_uniforms $4..7 = colorRed |
| copy_4_uniforms $8..11 = colorGreen |
| mix_4_ints $0..3 = mix($4..7, $8..11, $0..3) |
| load_src src.rgba = $0..3 |