blob: 7f253c2e35292cdd2d925fc555830f005e0e4774 [file] [log] [blame]
192 instructions
[immutable slots]
i0 = 0
i1 = 0
i2 = 0
i3 = 0
i4 = 0
i5 = 0
i6 = 0
i7 = 0
i8 = 0
i9 = 0
i10 = 0
i11 = 0
i12 = 0
i13 = 0
i14 = 0
i15 = 0
i16 = 0
i17 = 0
i18 = 0
i19 = 0
i20 = 0
i21 = 0
i22 = 0
i23 = 0
i24 = 0
i25 = 0
i26 = 0
i27 = 0
i28 = 0
store_src_rg coords = src.rg
init_lane_masks CondMask = LoopMask = RetMask = true
splat_4_constants _0_m = 0
splat_4_constants _1_mm = 0
copy_4_uniforms _0_m = testMatrix2x2
copy_4_uniforms _0_m = testMatrix2x2
copy_4_slots_unmasked $0..3 = _0_m
splat_4_constants $4..7 = 0x80000000 (-0.0)
bitwise_xor_4_ints $0..3 ^= $4..7
copy_4_slots_unmasked _0_m = $0..3
splat_4_constants _1_mm = 0
splat_4_constants _1_mm = 0
store_condition_mask $49 = CondMask
store_condition_mask $78 = CondMask
copy_4_slots_unmasked $79..82 = _0_m
copy_4_uniforms $83..86 = testMatrix2x2
splat_4_constants $87..90 = 0x80000000 (-0.0)
bitwise_xor_4_ints $83..86 ^= $87..90
cmpeq_4_floats $79..82 = equal($79..82, $83..86)
bitwise_and_2_ints $79..80 &= $81..82
bitwise_and_int $79 &= $80
copy_4_slots_unmasked $80..83 = _1_mm
splat_4_constants $84..87 = 0
cmpeq_4_floats $80..83 = equal($80..83, $84..87)
bitwise_and_2_ints $80..81 &= $82..83
bitwise_and_int $80 &= $81
bitwise_and_int $79 &= $80
copy_constant $50 = 0
merge_condition_mask CondMask = $78 & $79
branch_if_no_lanes_active branch_if_no_lanes_active +66 (label 2 at #96)
splat_4_constants m(0..3) = 0
splat_4_constants m(4..7) = 0
splat_4_constants m(8), mm(0..2) = 0
splat_4_constants mm(3..6) = 0
splat_2_constants mm(7..8) = 0
copy_4_uniforms $51..54 = testMatrix3x3(0..3)
copy_4_uniforms $55..58 = testMatrix3x3(4..7)
copy_uniform $59 = testMatrix3x3(8)
copy_4_slots_masked m(0..3) = Mask($51..54)
copy_4_slots_masked m(4..7) = Mask($55..58)
copy_slot_masked m(8) = Mask($59)
copy_4_uniforms $51..54 = testMatrix3x3(0..3)
copy_4_uniforms $55..58 = testMatrix3x3(4..7)
copy_uniform $59 = testMatrix3x3(8)
copy_4_slots_masked m(0..3) = Mask($51..54)
copy_4_slots_masked m(4..7) = Mask($55..58)
copy_slot_masked m(8) = Mask($59)
splat_4_constants $60..63 = 0x80000000 (-0.0)
splat_4_constants $64..67 = 0x80000000 (-0.0)
copy_constant $68 = 0x80000000 (-0.0)
bitwise_xor_n_ints $51..59 ^= $60..68
copy_4_slots_masked m(0..3) = Mask($51..54)
copy_4_slots_masked m(4..7) = Mask($55..58)
copy_slot_masked m(8) = Mask($59)
splat_4_constants $51..54 = 0
splat_4_constants $55..58 = 0
copy_constant $59 = 0
copy_4_slots_masked mm(0..3) = Mask($51..54)
copy_4_slots_masked mm(4..7) = Mask($55..58)
copy_slot_masked mm(8) = Mask($59)
splat_4_constants $51..54 = 0
splat_4_constants $55..58 = 0
copy_constant $59 = 0
copy_4_slots_masked mm(0..3) = Mask($51..54)
copy_4_slots_masked mm(4..7) = Mask($55..58)
copy_slot_masked mm(8) = Mask($59)
copy_4_slots_unmasked $51..54 = m(0..3)
copy_4_slots_unmasked $55..58 = m(4..7)
copy_slot_unmasked $59 = m(8)
copy_4_uniforms $60..63 = testMatrix3x3(0..3)
copy_4_uniforms $64..67 = testMatrix3x3(4..7)
copy_uniform $68 = testMatrix3x3(8)
splat_4_constants $69..72 = 0x80000000 (-0.0)
splat_4_constants $73..76 = 0x80000000 (-0.0)
copy_constant $77 = 0x80000000 (-0.0)
bitwise_xor_n_ints $60..68 ^= $69..77
cmpeq_n_floats $51..59 = equal($51..59, $60..68)
bitwise_and_4_ints $52..55 &= $56..59
bitwise_and_2_ints $52..53 &= $54..55
bitwise_and_int $52 &= $53
bitwise_and_int $51 &= $52
copy_4_slots_unmasked $52..55 = mm(0..3)
copy_4_slots_unmasked $56..59 = mm(4..7)
copy_slot_unmasked $60 = mm(8)
splat_4_constants $61..64 = 0
splat_4_constants $65..68 = 0
copy_constant $69 = 0
cmpeq_n_floats $52..60 = equal($52..60, $61..69)
bitwise_and_4_ints $53..56 &= $57..60
bitwise_and_2_ints $53..54 &= $55..56
bitwise_and_int $53 &= $54
bitwise_and_int $52 &= $53
bitwise_and_int $51 &= $52
label label 0x00000003
copy_slot_masked $50 = Mask($51)
label label 0x00000002
load_condition_mask CondMask = $78
copy_constant $0 = 0
merge_condition_mask CondMask = $49 & $50
branch_if_no_lanes_active branch_if_no_lanes_active +90 (label 1 at #190)
copy_4_uniforms testMatrix4x4(0..3) = testInputs
copy_4_uniforms testMatrix4x4(4..7) = testInputs
copy_4_uniforms testMatrix4x4(8..11) = testInputs
copy_4_uniforms testMatrix4x4(12..15) = testInputs
splat_4_constants m₁(0..3) = 0
splat_4_constants m₁(4..7) = 0
splat_4_constants m₁(8..11) = 0
splat_4_constants m₁(12..15) = 0
splat_4_constants mm₁(0..3) = 0
splat_4_constants mm₁(4..7) = 0
splat_4_constants mm₁(8..11) = 0
splat_4_constants mm₁(12..15) = 0
copy_4_slots_unmasked $1..4 = testMatrix4x4(0..3)
copy_4_slots_unmasked $5..8 = testMatrix4x4(4..7)
copy_4_slots_unmasked $9..12 = testMatrix4x4(8..11)
copy_4_slots_unmasked $13..16 = testMatrix4x4(12..15)
copy_4_slots_masked m₁(0..3) = Mask($1..4)
copy_4_slots_masked m₁(4..7) = Mask($5..8)
copy_4_slots_masked m₁(8..11) = Mask($9..12)
copy_4_slots_masked m₁(12..15) = Mask($13..16)
copy_4_slots_unmasked $1..4 = testMatrix4x4(0..3)
copy_4_slots_unmasked $5..8 = testMatrix4x4(4..7)
copy_4_slots_unmasked $9..12 = testMatrix4x4(8..11)
copy_4_slots_unmasked $13..16 = testMatrix4x4(12..15)
copy_4_slots_masked m₁(0..3) = Mask($1..4)
copy_4_slots_masked m₁(4..7) = Mask($5..8)
copy_4_slots_masked m₁(8..11) = Mask($9..12)
copy_4_slots_masked m₁(12..15) = Mask($13..16)
splat_4_constants $17..20 = 0x80000000 (-0.0)
splat_4_constants $21..24 = 0x80000000 (-0.0)
splat_4_constants $25..28 = 0x80000000 (-0.0)
splat_4_constants $29..32 = 0x80000000 (-0.0)
bitwise_xor_n_ints $1..16 ^= $17..32
copy_4_slots_masked m₁(0..3) = Mask($1..4)
copy_4_slots_masked m₁(4..7) = Mask($5..8)
copy_4_slots_masked m₁(8..11) = Mask($9..12)
copy_4_slots_masked m₁(12..15) = Mask($13..16)
splat_4_constants $1..4 = 0
splat_4_constants $5..8 = 0
splat_4_constants $9..12 = 0
splat_4_constants $13..16 = 0
copy_4_slots_masked mm₁(0..3) = Mask($1..4)
copy_4_slots_masked mm₁(4..7) = Mask($5..8)
copy_4_slots_masked mm₁(8..11) = Mask($9..12)
copy_4_slots_masked mm₁(12..15) = Mask($13..16)
splat_4_constants $1..4 = 0
splat_4_constants $5..8 = 0
splat_4_constants $9..12 = 0
splat_4_constants $13..16 = 0
copy_4_slots_masked mm₁(0..3) = Mask($1..4)
copy_4_slots_masked mm₁(4..7) = Mask($5..8)
copy_4_slots_masked mm₁(8..11) = Mask($9..12)
copy_4_slots_masked mm₁(12..15) = Mask($13..16)
copy_4_slots_unmasked $1..4 = m₁(0..3)
copy_4_slots_unmasked $5..8 = m₁(4..7)
copy_4_slots_unmasked $9..12 = m₁(8..11)
copy_4_slots_unmasked $13..16 = m₁(12..15)
copy_4_slots_unmasked $17..20 = testMatrix4x4(0..3)
copy_4_slots_unmasked $21..24 = testMatrix4x4(4..7)
copy_4_slots_unmasked $25..28 = testMatrix4x4(8..11)
copy_4_slots_unmasked $29..32 = testMatrix4x4(12..15)
splat_4_constants $33..36 = 0x80000000 (-0.0)
splat_4_constants $37..40 = 0x80000000 (-0.0)
splat_4_constants $41..44 = 0x80000000 (-0.0)
splat_4_constants $45..48 = 0x80000000 (-0.0)
bitwise_xor_n_ints $17..32 ^= $33..48
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
copy_4_slots_unmasked $2..5 = mm₁(0..3)
copy_4_slots_unmasked $6..9 = mm₁(4..7)
copy_4_slots_unmasked $10..13 = mm₁(8..11)
copy_4_slots_unmasked $14..17 = mm₁(12..15)
splat_4_constants $18..21 = 0
splat_4_constants $22..25 = 0
splat_4_constants $26..29 = 0
splat_4_constants $30..33 = 0
cmpeq_n_floats $2..17 = equal($2..17, $18..33)
bitwise_and_4_ints $10..13 &= $14..17
bitwise_and_4_ints $6..9 &= $10..13
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
label label 0x00000004
copy_slot_masked $0 = Mask($1)
label label 0x00000001
load_condition_mask CondMask = $49
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