| 40 instructions |
| |
| [immutable slots] |
| i0 = 0xC0400000 (-3.0) |
| i1 = 0x40C00000 (6.0) |
| i2 = 0xC0400000 (-3.0) |
| i3 = 0x40C00000 (6.0) |
| i4 = 0xC1400000 (-12.0) |
| i5 = 0x40C00000 (6.0) |
| |
| store_src_rg v0..1 = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_3_uniforms $11..13 = testMatrix3x3(0..2) |
| copy_3_slots_unmasked $4..6 = $11..13 |
| swizzle_3 $4..6 = ($4..6).yzx |
| swizzle_3 $11..13 = ($11..13).zxy |
| copy_3_uniforms $14..16 = testMatrix3x3(3..5) |
| copy_3_slots_unmasked $7..9 = $14..16 |
| swizzle_3 $7..9 = ($7..9).zxy |
| mul_3_floats $4..6 *= $7..9 |
| swizzle_3 $14..16 = ($14..16).yzx |
| mul_3_floats $11..13 *= $14..16 |
| copy_3_slots_unmasked $7..9 = $11..13 |
| sub_3_floats $4..6 -= $7..9 |
| copy_3_immutables_unmasked $7..9 = i0..2 [0xC0400000 (-3.0), 0x40C00000 (6.0), 0xC0400000 (-3.0)] |
| cmpeq_3_floats $4..6 = equal($4..6, $7..9) |
| bitwise_and_int $5 &= $6 |
| bitwise_and_int $4 &= $5 |
| copy_3_uniforms $11..13 = testMatrix3x3(6..8) |
| copy_3_slots_unmasked $5..7 = $11..13 |
| swizzle_3 $5..7 = ($5..7).yzx |
| swizzle_3 $11..13 = ($11..13).zxy |
| copy_3_uniforms $14..16 = testMatrix3x3(0..2) |
| copy_3_slots_unmasked $8..10 = $14..16 |
| swizzle_3 $8..10 = ($8..10).zxy |
| mul_3_floats $5..7 *= $8..10 |
| swizzle_3 $14..16 = ($14..16).yzx |
| mul_3_floats $11..13 *= $14..16 |
| copy_3_slots_unmasked $8..10 = $11..13 |
| sub_3_floats $5..7 -= $8..10 |
| copy_3_immutables_unmasked $8..10 = i3..5 [0x40C00000 (6.0), 0xC1400000 (-12.0), 0x40C00000 (6.0)] |
| 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 |
| branch_if_no_active_lanes_eq branch +3 (label 0 at #39) if no lanes of $4 == 0xFFFFFFFF |
| copy_4_uniforms $0..3 = colorGreen |
| jump jump +3 (label 1 at #41) |
| label label 0 |
| copy_4_uniforms $0..3 = colorRed |
| label label 0x00000001 |
| load_src src.rgba = $0..3 |