| 38 instructions |
| |
| [immutable slots] |
| i0 = 0x3F400000 (0.75) |
| i1 = 0 |
| i2 = 0x3F400000 (0.75) |
| i3 = 0x3E800000 (0.25) |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_uniform $4 = testInputs(0) |
| copy_slot_unmasked $5 = $4 |
| floor_float $5 = floor($5) |
| sub_float $4 -= $5 |
| cmpeq_imm_float $4 = equal($4, 0x3F400000 (0.75)) |
| copy_2_uniforms $5..6 = testInputs(0..1) |
| copy_2_slots_unmasked $7..8 = $5..6 |
| floor_2_floats $7..8 = floor($7..8) |
| sub_2_floats $5..6 -= $7..8 |
| copy_2_immutables_unmasked $7..8 = i0..1 [0x3F400000 (0.75), 0] |
| cmpeq_2_floats $5..6 = equal($5..6, $7..8) |
| bitwise_and_int $5 &= $6 |
| bitwise_and_int $4 &= $5 |
| copy_3_uniforms $5..7 = testInputs(0..2) |
| copy_3_slots_unmasked $8..10 = $5..7 |
| floor_3_floats $8..10 = floor($8..10) |
| sub_3_floats $5..7 -= $8..10 |
| copy_3_immutables_unmasked $8..10 = i0..2 [0x3F400000 (0.75), 0, 0x3F400000 (0.75)] |
| cmpeq_3_floats $5..7 = equal($5..7, $8..10) |
| bitwise_and_int $6 &= $7 |
| bitwise_and_int $5 &= $6 |
| bitwise_and_int $4 &= $5 |
| copy_4_uniforms $5..8 = testInputs |
| copy_4_slots_unmasked $9..12 = $5..8 |
| floor_4_floats $9..12 = floor($9..12) |
| sub_4_floats $5..8 -= $9..12 |
| copy_4_immutables_unmasked $9..12 = i0..3 [0x3F400000 (0.75), 0, 0x3F400000 (0.75), 0x3E800000 (0.25)] |
| cmpeq_4_floats $5..8 = equal($5..8, $9..12) |
| bitwise_and_2_ints $5..6 &= $7..8 |
| bitwise_and_int $5 &= $6 |
| bitwise_and_int $4 &= $5 |
| branch_if_no_active_lanes_eq branch +3 (label 0 at #37) if no lanes of $4 == 0xFFFFFFFF |
| copy_4_uniforms $0..3 = colorGreen |
| jump jump +3 (label 1 at #39) |
| label label 0 |
| copy_4_uniforms $0..3 = colorRed |
| label label 0x00000001 |
| load_src src.rgba = $0..3 |