blob: a1e67c6690ab38d13b2faf7484a0cb1c994b8701 [file] [log] [blame]
256 instructions
[immutable slots]
i0 = 0x3F800000 (1.0)
i1 = 0x40000000 (2.0)
i2 = 0x40400000 (3.0)
i3 = 0x40800000 (4.0)
i4 = 0x40C00000 (6.0)
i5 = 0
i6 = 0
i7 = 0x40C00000 (6.0)
i8 = 0x40C00000 (6.0)
i9 = 0x41400000 (12.0)
i10 = 0x41900000 (18.0)
i11 = 0x41C00000 (24.0)
i12 = 0x40800000 (4.0)
i13 = 0
i14 = 0
i15 = 0x40800000 (4.0)
i16 = 0x40A00000 (5.0)
i17 = 0x40000000 (2.0)
i18 = 0x40400000 (3.0)
i19 = 0x41000000 (8.0)
i20 = 0x41300000 (11.0)
i21 = 0
i22 = 0
i23 = 0
i24 = 0
i25 = 0x41300000 (11.0)
i26 = 0
i27 = 0
i28 = 0
i29 = 0
i30 = 0x41300000 (11.0)
i31 = 0
i32 = 0
i33 = 0
i34 = 0
i35 = 0x41300000 (11.0)
i36 = 0x41A00000 (20.0)
i37 = 0x41A00000 (20.0)
i38 = 0x41A00000 (20.0)
i39 = 0x41A00000 (20.0)
i40 = 0x41A00000 (20.0)
i41 = 0x41A00000 (20.0)
i42 = 0x41A00000 (20.0)
i43 = 0x41A00000 (20.0)
i44 = 0x41A00000 (20.0)
i45 = 0x41A00000 (20.0)
i46 = 0x41A00000 (20.0)
i47 = 0x41A00000 (20.0)
i48 = 0x41A00000 (20.0)
i49 = 0x41A00000 (20.0)
i50 = 0x41A00000 (20.0)
i51 = 0x41A00000 (20.0)
i52 = 0x41100000 (9.0)
i53 = 0x41A00000 (20.0)
i54 = 0x41A00000 (20.0)
i55 = 0x41A00000 (20.0)
i56 = 0x41A00000 (20.0)
i57 = 0x41100000 (9.0)
i58 = 0x41A00000 (20.0)
i59 = 0x41A00000 (20.0)
i60 = 0x41A00000 (20.0)
i61 = 0x41A00000 (20.0)
i62 = 0x41100000 (9.0)
i63 = 0x41A00000 (20.0)
i64 = 0x41A00000 (20.0)
i65 = 0x41A00000 (20.0)
i66 = 0x41A00000 (20.0)
i67 = 0x41100000 (9.0)
i68 = 0x40A00000 (5.0)
i69 = 0x40C00000 (6.0)
i70 = 0x40E00000 (7.0)
i71 = 0x41000000 (8.0)
i72 = 0x41100000 (9.0)
i73 = 0
i74 = 0
i75 = 0
i76 = 0x41100000 (9.0)
i77 = 0
i78 = 0
i79 = 0
i80 = 0x41100000 (9.0)
store_src_rg coords = src.rg
init_lane_masks CondMask = LoopMask = RetMask = true
copy_constant _0_ok = 0xFFFFFFFF
copy_4_immutables_unmasked _1_m1 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
copy_4_slots_unmasked $0..3 = _0_ok, _1_m1(0..2)
copy_slot_unmasked $4 = _1_m1(3)
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 _0_ok = $0
copy_4_slots_unmasked _2_m3 = _1_m1
copy_slot_unmasked $0 = _0_ok
copy_4_slots_unmasked $1..4 = _2_m3
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 _0_ok = $0
copy_4_slots_unmasked $4..7 = _2_m3
copy_4_immutables_unmasked $8..11 = i4..7 [0x40C00000 (6.0), 0, 0, 0x40C00000 (6.0)]
matrix_multiply_2 mat2x2($0..3) = mat2x2($4..7) * mat2x2($8..11)
copy_4_slots_unmasked _2_m3 = $0..3
copy_slot_unmasked $0 = _0_ok
copy_4_slots_unmasked $1..4 = _2_m3
copy_4_immutables_unmasked $5..8 = i8..11 [0x40C00000 (6.0), 0x41400000 (12.0), 0x41900000 (18.0), 0x41C00000 (24.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 _0_ok = $0
copy_constant $0 = 0
copy_2_slots_unmasked $1..2 = _1_m1(2..3)
swizzle_1 $1 = ($1..2).y
swizzle_4 $0..3 = ($0..3).yxxy
copy_4_slots_unmasked _4_m5 = $0..3
copy_slot_unmasked $0 = _0_ok
copy_4_slots_unmasked $1..4 = _4_m5
copy_4_immutables_unmasked $5..8 = i12..15 [0x40800000 (4.0), 0, 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 _0_ok = $0
copy_4_slots_unmasked $0..3 = _1_m1
copy_4_slots_unmasked $4..7 = _4_m5
add_4_floats $0..3 += $4..7
copy_4_slots_unmasked _1_m1 = $0..3
copy_4_slots_unmasked $0..3 = _0_ok, _1_m1(0..2)
copy_slot_unmasked $4 = _1_m1(3)
copy_4_immutables_unmasked $5..8 = i16..19 [0x40A00000 (5.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x41000000 (8.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 _0_ok = $0
splat_4_constants _8_m11(0..3) = 0x41A00000 (20.0)
splat_4_constants _8_m11(4..7) = 0x41A00000 (20.0)
splat_4_constants _8_m11(8..11) = 0x41A00000 (20.0)
splat_4_constants _8_m11(12..15) = 0x41A00000 (20.0)
copy_4_slots_unmasked $0..3 = _8_m11(0..3)
copy_4_slots_unmasked $4..7 = _8_m11(4..7)
copy_4_slots_unmasked $8..11 = _8_m11(8..11)
copy_4_slots_unmasked $12..15 = _8_m11(12..15)
copy_4_immutables_unmasked $16..19 = i20..23 [0x41300000 (11.0), 0, 0, 0]
copy_4_immutables_unmasked $20..23 = i24..27 [0, 0x41300000 (11.0), 0, 0]
copy_4_immutables_unmasked $24..27 = i28..31 [0, 0, 0x41300000 (11.0), 0]
copy_4_immutables_unmasked $28..31 = i32..35 [0, 0, 0, 0x41300000 (11.0)]
sub_n_floats $0..15 -= $16..31
copy_4_slots_unmasked _8_m11(0..3) = $0..3
copy_4_slots_unmasked _8_m11(4..7) = $4..7
copy_4_slots_unmasked _8_m11(8..11) = $8..11
copy_4_slots_unmasked _8_m11(12..15) = $12..15
copy_slot_unmasked $0 = _0_ok
copy_4_slots_unmasked $1..4 = _8_m11(0..3)
copy_4_slots_unmasked $5..8 = _8_m11(4..7)
copy_4_slots_unmasked $9..12 = _8_m11(8..11)
copy_4_slots_unmasked $13..16 = _8_m11(12..15)
copy_4_immutables_unmasked $17..20 = i52..55 [0x41100000 (9.0), 0x41A00000 (20.0), 0x41A00000 (20.0), 0x41A00000 (20.0)]
copy_4_immutables_unmasked $21..24 = i56..59 [0x41A00000 (20.0), 0x41100000 (9.0), 0x41A00000 (20.0), 0x41A00000 (20.0)]
copy_4_immutables_unmasked $25..28 = i60..63 [0x41A00000 (20.0), 0x41A00000 (20.0), 0x41100000 (9.0), 0x41A00000 (20.0)]
copy_4_immutables_unmasked $29..32 = i64..67 [0x41A00000 (20.0), 0x41A00000 (20.0), 0x41A00000 (20.0), 0x41100000 (9.0)]
cmpeq_n_floats $1..16 = equal($1..16, $17..32)
bitwise_and_4_ints $9..12 &= $13..16
bitwise_and_4_ints $5..8 &= $9..12
bitwise_and_4_ints $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 _0_ok = $0
store_condition_mask $33 = CondMask
store_condition_mask $68 = CondMask
copy_slot_unmasked $69 = _0_ok
copy_constant $34 = 0
merge_condition_mask CondMask = $68 & $69
branch_if_no_lanes_active branch_if_no_lanes_active +138 (label 2 at #236)
copy_constant ok = 0xFFFFFFFF
copy_4_immutables_unmasked m1 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
copy_4_slots_unmasked $35..38 = ok, m1(0..2)
copy_slot_unmasked $39 = m1(3)
copy_4_immutables_unmasked $40..43 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
cmpeq_4_floats $36..39 = equal($36..39, $40..43)
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_4_slots_unmasked m3 = m1
copy_slot_unmasked $35 = ok
copy_4_slots_unmasked $36..39 = m3
copy_4_immutables_unmasked $40..43 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
cmpeq_4_floats $36..39 = equal($36..39, $40..43)
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_4_immutables_unmasked $36..39 = i4..7 [0x40C00000 (6.0), 0, 0, 0x40C00000 (6.0)]
copy_4_immutables_unmasked $40..43 = i4..7 [0x40C00000 (6.0), 0, 0, 0x40C00000 (6.0)]
cmpeq_4_floats $36..39 = equal($36..39, $40..43)
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_4_slots_unmasked $39..42 = m3
copy_4_immutables_unmasked $43..46 = i4..7 [0x40C00000 (6.0), 0, 0, 0x40C00000 (6.0)]
matrix_multiply_2 mat2x2($35..38) = mat2x2($39..42) * mat2x2($43..46)
copy_4_slots_masked m3 = Mask($35..38)
copy_slot_unmasked $35 = ok
copy_4_slots_unmasked $36..39 = m3
copy_4_immutables_unmasked $40..43 = i8..11 [0x40C00000 (6.0), 0x41400000 (12.0), 0x41900000 (18.0), 0x41C00000 (24.0)]
cmpeq_4_floats $36..39 = equal($36..39, $40..43)
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_constant $35 = 0
copy_2_slots_unmasked $36..37 = m1(2..3)
swizzle_1 $36 = ($36..37).y
swizzle_4 $35..38 = ($35..38).yxxy
copy_4_slots_unmasked m5 = $35..38
copy_slot_unmasked $35 = ok
copy_4_slots_unmasked $36..39 = m5
copy_4_immutables_unmasked $40..43 = i12..15 [0x40800000 (4.0), 0, 0, 0x40800000 (4.0)]
cmpeq_4_floats $36..39 = equal($36..39, $40..43)
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_4_slots_unmasked $35..38 = m1
copy_4_slots_unmasked $39..42 = m5
add_4_floats $35..38 += $39..42
copy_4_slots_masked m1 = Mask($35..38)
copy_4_slots_unmasked $35..38 = ok, m1(0..2)
copy_slot_unmasked $39 = m1(3)
copy_4_immutables_unmasked $40..43 = i16..19 [0x40A00000 (5.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x41000000 (8.0)]
cmpeq_4_floats $36..39 = equal($36..39, $40..43)
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_slot_unmasked $35 = ok
copy_4_immutables_unmasked $36..39 = i68..71 [0x40A00000 (5.0), 0x40C00000 (6.0), 0x40E00000 (7.0), 0x41000000 (8.0)]
copy_4_immutables_unmasked $40..43 = i68..71 [0x40A00000 (5.0), 0x40C00000 (6.0), 0x40E00000 (7.0), 0x41000000 (8.0)]
cmpeq_4_floats $36..39 = equal($36..39, $40..43)
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_slot_unmasked $35 = ok
copy_4_immutables_unmasked $36..39 = i72..75 [0x41100000 (9.0), 0, 0, 0]
copy_4_immutables_unmasked $40..43 = i76..79 [0x41100000 (9.0), 0, 0, 0]
copy_constant $44 = 0x41100000 (9.0)
copy_4_immutables_unmasked $45..48 = i72..75 [0x41100000 (9.0), 0, 0, 0]
copy_4_immutables_unmasked $49..52 = i76..79 [0x41100000 (9.0), 0, 0, 0]
copy_constant $53 = 0x41100000 (9.0)
cmpeq_n_floats $36..44 = equal($36..44, $45..53)
bitwise_and_4_ints $37..40 &= $41..44
bitwise_and_2_ints $37..38 &= $39..40
bitwise_and_int $37 &= $38
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
copy_4_immutables_unmasked $36..39 = i20..23 [0x41300000 (11.0), 0, 0, 0]
copy_4_immutables_unmasked $40..43 = i24..27 [0, 0x41300000 (11.0), 0, 0]
copy_4_immutables_unmasked $44..47 = i28..31 [0, 0, 0x41300000 (11.0), 0]
copy_4_immutables_unmasked $48..51 = i32..35 [0, 0, 0, 0x41300000 (11.0)]
copy_4_immutables_unmasked $52..55 = i20..23 [0x41300000 (11.0), 0, 0, 0]
copy_4_immutables_unmasked $56..59 = i24..27 [0, 0x41300000 (11.0), 0, 0]
copy_4_immutables_unmasked $60..63 = i28..31 [0, 0, 0x41300000 (11.0), 0]
copy_4_immutables_unmasked $64..67 = i32..35 [0, 0, 0, 0x41300000 (11.0)]
cmpeq_n_floats $36..51 = equal($36..51, $52..67)
bitwise_and_4_ints $44..47 &= $48..51
bitwise_and_4_ints $40..43 &= $44..47
bitwise_and_4_ints $36..39 &= $40..43
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
splat_4_constants m11(0..3) = 0x41A00000 (20.0)
splat_4_constants m11(4..7) = 0x41A00000 (20.0)
splat_4_constants m11(8..11) = 0x41A00000 (20.0)
splat_4_constants m11(12..15) = 0x41A00000 (20.0)
copy_4_slots_unmasked $35..38 = m11(0..3)
copy_4_slots_unmasked $39..42 = m11(4..7)
copy_4_slots_unmasked $43..46 = m11(8..11)
copy_4_slots_unmasked $47..50 = m11(12..15)
copy_4_immutables_unmasked $51..54 = i20..23 [0x41300000 (11.0), 0, 0, 0]
copy_4_immutables_unmasked $55..58 = i24..27 [0, 0x41300000 (11.0), 0, 0]
copy_4_immutables_unmasked $59..62 = i28..31 [0, 0, 0x41300000 (11.0), 0]
copy_4_immutables_unmasked $63..66 = i32..35 [0, 0, 0, 0x41300000 (11.0)]
sub_n_floats $35..50 -= $51..66
copy_4_slots_masked m11(0..3) = Mask($35..38)
copy_4_slots_masked m11(4..7) = Mask($39..42)
copy_4_slots_masked m11(8..11) = Mask($43..46)
copy_4_slots_masked m11(12..15) = Mask($47..50)
copy_slot_unmasked $35 = ok
copy_4_slots_unmasked $36..39 = m11(0..3)
copy_4_slots_unmasked $40..43 = m11(4..7)
copy_4_slots_unmasked $44..47 = m11(8..11)
copy_4_slots_unmasked $48..51 = m11(12..15)
copy_4_immutables_unmasked $52..55 = i52..55 [0x41100000 (9.0), 0x41A00000 (20.0), 0x41A00000 (20.0), 0x41A00000 (20.0)]
copy_4_immutables_unmasked $56..59 = i56..59 [0x41A00000 (20.0), 0x41100000 (9.0), 0x41A00000 (20.0), 0x41A00000 (20.0)]
copy_4_immutables_unmasked $60..63 = i60..63 [0x41A00000 (20.0), 0x41A00000 (20.0), 0x41100000 (9.0), 0x41A00000 (20.0)]
copy_4_immutables_unmasked $64..67 = i64..67 [0x41A00000 (20.0), 0x41A00000 (20.0), 0x41A00000 (20.0), 0x41100000 (9.0)]
cmpeq_n_floats $36..51 = equal($36..51, $52..67)
bitwise_and_4_ints $44..47 &= $48..51
bitwise_and_4_ints $40..43 &= $44..47
bitwise_and_4_ints $36..39 &= $40..43
bitwise_and_2_ints $36..37 &= $38..39
bitwise_and_int $36 &= $37
bitwise_and_int $35 &= $36
copy_slot_masked ok = Mask($35)
label label 0x00000003
copy_slot_masked $34 = Mask($35)
label label 0x00000002
load_condition_mask CondMask = $68
copy_constant $0 = 0
merge_condition_mask CondMask = $33 & $34
branch_if_no_lanes_active branch_if_no_lanes_active +14 (label 1 at #254)
splat_4_constants x = 0
splat_4_constants y = 0
copy_4_immutables_unmasked $1..4 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
copy_4_slots_masked x = Mask($1..4)
copy_4_immutables_unmasked $1..4 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
copy_4_slots_masked y = Mask($1..4)
copy_4_slots_unmasked $1..4 = x
copy_4_slots_unmasked $5..8 = y
cmpeq_4_floats $1..4 = equal($1..4, $5..8)
bitwise_and_2_ints $1..2 &= $3..4
bitwise_and_int $1 &= $2
label label 0x00000004
copy_slot_masked $0 = Mask($1)
label label 0x00000001
load_condition_mask CondMask = $33
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