| 50 instructions |
| |
| [immutable slots] |
| i0 = 0xC0000000 (-2.0) |
| i1 = 0 |
| i2 = 0 |
| i3 = 0x40000000 (2.0) |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_uniform $0 = testInputs(0) |
| floor_float $0 = floor($0) |
| cmpeq_imm_float $0 = equal($0, 0xC0000000 (-2.0)) |
| copy_2_uniforms $1..2 = testInputs(0..1) |
| floor_2_floats $1..2 = floor($1..2) |
| copy_2_immutables_unmasked $3..4 = i0..1 [0xC0000000 (-2.0), 0] |
| cmpeq_2_floats $1..2 = equal($1..2, $3..4) |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_3_uniforms $1..3 = testInputs(0..2) |
| floor_3_floats $1..3 = floor($1..3) |
| copy_3_immutables_unmasked $4..6 = i0..2 [0xC0000000 (-2.0), 0, 0] |
| cmpeq_3_floats $1..3 = equal($1..3, $4..6) |
| bitwise_and_int $2 &= $3 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_4_uniforms $1..4 = testInputs |
| floor_4_floats $1..4 = floor($1..4) |
| copy_4_immutables_unmasked $5..8 = i0..3 [0xC0000000 (-2.0), 0, 0, 0x40000000 (2.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_constant $1 = 0xC0000000 (-2.0) |
| cmpeq_imm_float $1 = equal($1, 0xC0000000 (-2.0)) |
| bitwise_and_int $0 &= $1 |
| copy_2_immutables_unmasked $1..2 = i0..1 [0xC0000000 (-2.0), 0] |
| copy_2_immutables_unmasked $3..4 = i0..1 [0xC0000000 (-2.0), 0] |
| cmpeq_2_floats $1..2 = equal($1..2, $3..4) |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_3_immutables_unmasked $1..3 = i0..2 [0xC0000000 (-2.0), 0, 0] |
| copy_3_immutables_unmasked $4..6 = i0..2 [0xC0000000 (-2.0), 0, 0] |
| cmpeq_3_floats $1..3 = equal($1..3, $4..6) |
| bitwise_and_int $2 &= $3 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_4_immutables_unmasked $1..4 = i0..3 [0xC0000000 (-2.0), 0, 0, 0x40000000 (2.0)] |
| copy_4_immutables_unmasked $5..8 = i0..3 [0xC0000000 (-2.0), 0, 0, 0x40000000 (2.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 |
| 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 |