| 37 instructions |
| |
| [immutable slots] |
| i0 = 0x3F800000 (1.0) |
| i1 = 0x40000000 (2.0) |
| i2 = 0x40800000 (4.0) |
| i3 = 0x40A00000 (5.0) |
| i4 = 0x3F800000 (1.0) |
| i5 = 0x40000000 (2.0) |
| i6 = 0 |
| i7 = 0x40800000 (4.0) |
| i8 = 0x40A00000 (5.0) |
| i9 = 0 |
| i10 = 0 |
| i11 = 0 |
| i12 = 0x3F800000 (1.0) |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| store_condition_mask $19 = CondMask |
| branch_if_no_lanes_active branch_if_no_lanes_active +5 (label 2 at #9) |
| copy_4_uniforms $20..23 = testMatrix3x3(0..3) |
| copy_4_uniforms $24..27 = testMatrix3x3(4..7) |
| copy_uniform $28 = testMatrix3x3(8) |
| shuffle $22..23 = ($22..23)[1 2] |
| label label 0x00000002 |
| copy_4_immutables_unmasked $24..27 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40800000 (4.0), 0x40A00000 (5.0)] |
| cmpeq_4_floats $20..23 = equal($20..23, $24..27) |
| bitwise_and_2_ints $20..21 &= $22..23 |
| bitwise_and_int $20 &= $21 |
| copy_constant $0 = 0 |
| merge_condition_mask CondMask = $19 & $20 |
| branch_if_no_lanes_active branch_if_no_lanes_active +18 (label 1 at #34) |
| copy_4_uniforms $1..4 = testMatrix3x3(0..3) |
| copy_4_uniforms $5..8 = testMatrix3x3(4..7) |
| copy_uniform $9 = testMatrix3x3(8) |
| shuffle $3..4 = ($3..4)[1 2] |
| label label 0x00000003 |
| copy_constant $5 = 0 |
| copy_constant $6 = 0x3F800000 (1.0) |
| shuffle $3..9 = ($3..9)[2 0 1 2 2 2 3] |
| copy_4_immutables_unmasked $10..13 = i4..7 [0x3F800000 (1.0), 0x40000000 (2.0), 0, 0x40800000 (4.0)] |
| copy_4_immutables_unmasked $14..17 = i8..11 [0x40A00000 (5.0), 0, 0, 0] |
| copy_constant $18 = 0x3F800000 (1.0) |
| cmpeq_n_floats $1..9 = equal($1..9, $10..18) |
| bitwise_and_4_ints $2..5 &= $6..9 |
| bitwise_and_2_ints $2..3 &= $4..5 |
| bitwise_and_int $2 &= $3 |
| bitwise_and_int $1 &= $2 |
| copy_slot_masked $0 = Mask($1) |
| label label 0x00000001 |
| load_condition_mask CondMask = $19 |
| 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 |