| 101 instructions |
| |
| [immutable slots] |
| i0 = 0xBFA00000 (-1.25) |
| i1 = 0 |
| i2 = 0x3F000000 (0.5) |
| i3 = 0x3F000000 (0.5) |
| i4 = 0xBFA00000 (-1.25) |
| i5 = 0 |
| i6 = 0 |
| i7 = 0x3F800000 (1.0) |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_uniform $0 = testInputs(0) |
| min_imm_float $0 = min($0, 0x3F000000 (0.5)) |
| cmpeq_imm_float $0 = equal($0, 0xBFA00000 (-1.25)) |
| copy_2_uniforms $1..2 = testInputs(0..1) |
| min_imm_float $1 = min($1, 0x3F000000 (0.5)) |
| min_imm_float $2 = min($2, 0x3F000000 (0.5)) |
| copy_2_immutables_unmasked $3..4 = i0..1 [0xBFA00000 (-1.25), 0] |
| cmpeq_2_floats $1..2 = equal($1..2, $3..4) |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_3_uniforms $1..3 = testInputs(0..2) |
| splat_3_constants $4..6 = 0x3F000000 (0.5) |
| min_3_floats $1..3 = min($1..3, $4..6) |
| copy_3_immutables_unmasked $4..6 = i0..2 [0xBFA00000 (-1.25), 0, 0x3F000000 (0.5)] |
| cmpeq_3_floats $1..3 = equal($1..3, $4..6) |
| bitwise_and_int $2 &= $3 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_4_uniforms $1..4 = testInputs |
| splat_4_constants $5..8 = 0x3F000000 (0.5) |
| min_4_floats $1..4 = min($1..4, $5..8) |
| copy_4_immutables_unmasked $5..8 = i0..3 [0xBFA00000 (-1.25), 0, 0x3F000000 (0.5), 0x3F000000 (0.5)] |
| 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_constant $1 = 0xBFA00000 (-1.25) |
| cmpeq_imm_float $1 = equal($1, 0xBFA00000 (-1.25)) |
| bitwise_and_int $0 &= $1 |
| copy_2_immutables_unmasked $1..2 = i4..5 [0xBFA00000 (-1.25), 0] |
| copy_2_immutables_unmasked $3..4 = i0..1 [0xBFA00000 (-1.25), 0] |
| cmpeq_2_floats $1..2 = equal($1..2, $3..4) |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_3_immutables_unmasked $1..3 = i0..2 [0xBFA00000 (-1.25), 0, 0x3F000000 (0.5)] |
| copy_3_immutables_unmasked $4..6 = i0..2 [0xBFA00000 (-1.25), 0, 0x3F000000 (0.5)] |
| cmpeq_3_floats $1..3 = equal($1..3, $4..6) |
| bitwise_and_int $2 &= $3 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_4_immutables_unmasked $1..4 = i0..3 [0xBFA00000 (-1.25), 0, 0x3F000000 (0.5), 0x3F000000 (0.5)] |
| copy_4_immutables_unmasked $5..8 = i0..3 [0xBFA00000 (-1.25), 0, 0x3F000000 (0.5), 0x3F000000 (0.5)] |
| 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_uniform $1 = testInputs(0) |
| copy_uniform $2 = colorGreen(0) |
| min_float $1 = min($1, $2) |
| cmpeq_imm_float $1 = equal($1, 0xBFA00000 (-1.25)) |
| bitwise_and_int $0 &= $1 |
| copy_2_uniforms $1..2 = testInputs(0..1) |
| copy_2_uniforms $3..4 = colorGreen(0..1) |
| min_2_floats $1..2 = min($1..2, $3..4) |
| copy_2_immutables_unmasked $3..4 = i4..5 [0xBFA00000 (-1.25), 0] |
| cmpeq_2_floats $1..2 = equal($1..2, $3..4) |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_3_uniforms $1..3 = testInputs(0..2) |
| copy_3_uniforms $4..6 = colorGreen(0..2) |
| min_3_floats $1..3 = min($1..3, $4..6) |
| copy_3_immutables_unmasked $4..6 = i4..6 [0xBFA00000 (-1.25), 0, 0] |
| cmpeq_3_floats $1..3 = equal($1..3, $4..6) |
| bitwise_and_int $2 &= $3 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_4_uniforms $1..4 = testInputs |
| copy_4_uniforms $5..8 = colorGreen |
| min_4_floats $1..4 = min($1..4, $5..8) |
| copy_4_immutables_unmasked $5..8 = i4..7 [0xBFA00000 (-1.25), 0, 0, 0x3F800000 (1.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_constant $1 = 0xBFA00000 (-1.25) |
| cmpeq_imm_float $1 = equal($1, 0xBFA00000 (-1.25)) |
| bitwise_and_int $0 &= $1 |
| copy_2_immutables_unmasked $1..2 = i4..5 [0xBFA00000 (-1.25), 0] |
| copy_2_immutables_unmasked $3..4 = i4..5 [0xBFA00000 (-1.25), 0] |
| cmpeq_2_floats $1..2 = equal($1..2, $3..4) |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_3_immutables_unmasked $1..3 = i4..6 [0xBFA00000 (-1.25), 0, 0] |
| copy_3_immutables_unmasked $4..6 = i4..6 [0xBFA00000 (-1.25), 0, 0] |
| cmpeq_3_floats $1..3 = equal($1..3, $4..6) |
| bitwise_and_int $2 &= $3 |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_4_immutables_unmasked $1..4 = i4..7 [0xBFA00000 (-1.25), 0, 0, 0x3F800000 (1.0)] |
| copy_4_immutables_unmasked $5..8 = i4..7 [0xBFA00000 (-1.25), 0, 0, 0x3F800000 (1.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 |
| 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 |