| 40 instructions |
| |
| [immutable slots] |
| i0 = 0x40A00000 (5.0) |
| i1 = 0x41880000 (17.0) |
| i2 = 0x42180000 (38.0) |
| i3 = 0x428C0000 (70.0) |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_4_uniforms inputA = testMatrix4x4(0..3) |
| copy_4_uniforms inputB = testMatrix4x4(4..7) |
| copy_slot_unmasked $0 = inputA(0) |
| copy_slot_unmasked $1 = inputB(0) |
| mul_float $0 *= $1 |
| cmpeq_imm_float $0 = equal($0, 0x40A00000 (5.0)) |
| copy_2_slots_unmasked $1..2 = inputA(0..1) |
| copy_2_slots_unmasked $3..4 = inputB(0..1) |
| dot_2_floats $1 = dot($1..2, $3..4) |
| cmpeq_imm_float $1 = equal($1, 0x41880000 (17.0)) |
| bitwise_and_int $0 &= $1 |
| copy_3_slots_unmasked $1..3 = inputA(0..2) |
| copy_3_slots_unmasked $4..6 = inputB(0..2) |
| dot_3_floats $1 = dot($1..3, $4..6) |
| cmpeq_imm_float $1 = equal($1, 0x42180000 (38.0)) |
| bitwise_and_int $0 &= $1 |
| copy_4_slots_unmasked $1..4 = inputA |
| copy_4_slots_unmasked $5..8 = inputB |
| dot_4_floats $1 = dot($1..4, $5..8) |
| cmpeq_imm_float $1 = equal($1, 0x428C0000 (70.0)) |
| bitwise_and_int $0 &= $1 |
| copy_constant $1 = 0x40A00000 (5.0) |
| cmpeq_imm_float $1 = equal($1, 0x40A00000 (5.0)) |
| bitwise_and_int $0 &= $1 |
| copy_constant $1 = 0x41880000 (17.0) |
| cmpeq_imm_float $1 = equal($1, 0x41880000 (17.0)) |
| bitwise_and_int $0 &= $1 |
| copy_constant $1 = 0x42180000 (38.0) |
| cmpeq_imm_float $1 = equal($1, 0x42180000 (38.0)) |
| bitwise_and_int $0 &= $1 |
| copy_constant $1 = 0x428C0000 (70.0) |
| cmpeq_imm_float $1 = equal($1, 0x428C0000 (70.0)) |
| bitwise_and_int $0 &= $1 |
| 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 |