| 136 instructions |
| |
| [immutable slots] |
| i0 = 0xBFA00000 (-1.25) |
| i1 = 0 |
| i2 = 0x3F400000 (0.75) |
| i3 = 0x40100000 (2.25) |
| i4 = 0 |
| i5 = 0 |
| i6 = 0x3F580000 (0.84375) |
| i7 = 0x3F800000 (1.0) |
| i8 = 0x3F800000 (1.0) |
| i9 = 0 |
| i10 = 0x3F800000 (1.0) |
| i11 = 0x3F800000 (1.0) |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_constant $0 = 0 |
| cmpeq_imm_float $0 = equal($0, 0) |
| splat_2_constants $1..2 = 0 |
| splat_2_constants $3..4 = 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 [0, 0, 0x3F580000 (0.84375)] |
| copy_3_immutables_unmasked $4..6 = i4..6 [0, 0, 0x3F580000 (0.84375)] |
| 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 [0, 0, 0x3F580000 (0.84375), 0x3F800000 (1.0)] |
| copy_4_immutables_unmasked $5..8 = i4..7 [0, 0, 0x3F580000 (0.84375), 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 = 0 |
| cmpeq_imm_float $1 = equal($1, 0) |
| bitwise_and_int $0 &= $1 |
| splat_2_constants $1..2 = 0 |
| splat_2_constants $3..4 = 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 [0, 0, 0x3F580000 (0.84375)] |
| copy_3_immutables_unmasked $4..6 = i4..6 [0, 0, 0x3F580000 (0.84375)] |
| 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 [0, 0, 0x3F580000 (0.84375), 0x3F800000 (1.0)] |
| copy_4_immutables_unmasked $5..8 = i4..7 [0, 0, 0x3F580000 (0.84375), 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_uniform $1 = colorRed(1) |
| copy_uniform $2 = colorGreen(1) |
| copy_constant $3 = 0xBFA00000 (-1.25) |
| smoothstep_n_floats $1 = smoothstep($1, $2, $3) |
| cmpeq_imm_float $1 = equal($1, 0) |
| bitwise_and_int $0 &= $1 |
| copy_uniform $1 = colorRed(1) |
| copy_slot_unmasked $2 = $1 |
| copy_uniform $3 = colorGreen(1) |
| copy_slot_unmasked $4 = $3 |
| copy_2_immutables_unmasked $5..6 = i0..1 [0xBFA00000 (-1.25), 0] |
| smoothstep_n_floats $1..2 = smoothstep($1..2, $3..4, $5..6) |
| splat_2_constants $3..4 = 0 |
| cmpeq_2_floats $1..2 = equal($1..2, $3..4) |
| bitwise_and_int $1 &= $2 |
| bitwise_and_int $0 &= $1 |
| copy_uniform $1 = colorRed(1) |
| swizzle_3 $1..3 = ($1..3).xxx |
| copy_uniform $4 = colorGreen(1) |
| swizzle_3 $4..6 = ($4..6).xxx |
| copy_3_immutables_unmasked $7..9 = i0..2 [0xBFA00000 (-1.25), 0, 0x3F400000 (0.75)] |
| smoothstep_n_floats $1..3 = smoothstep($1..3, $4..6, $7..9) |
| copy_3_immutables_unmasked $4..6 = i4..6 [0, 0, 0x3F580000 (0.84375)] |
| 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_uniform $1 = colorRed(1) |
| swizzle_4 $1..4 = ($1..4).xxxx |
| copy_uniform $5 = colorGreen(1) |
| swizzle_4 $5..8 = ($5..8).xxxx |
| copy_4_immutables_unmasked $9..12 = i0..3 [0xBFA00000 (-1.25), 0, 0x3F400000 (0.75), 0x40100000 (2.25)] |
| smoothstep_n_floats $1..4 = smoothstep($1..4, $5..8, $9..12) |
| copy_4_immutables_unmasked $5..8 = i4..7 [0, 0, 0x3F580000 (0.84375), 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 = 0x3F800000 (1.0) |
| cmpeq_imm_float $1 = equal($1, 0x3F800000 (1.0)) |
| bitwise_and_int $0 &= $1 |
| copy_2_immutables_unmasked $1..2 = i8..9 [0x3F800000 (1.0), 0] |
| copy_2_immutables_unmasked $3..4 = i8..9 [0x3F800000 (1.0), 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 = i8..10 [0x3F800000 (1.0), 0, 0x3F800000 (1.0)] |
| copy_3_immutables_unmasked $4..6 = i8..10 [0x3F800000 (1.0), 0, 0x3F800000 (1.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 = i8..11 [0x3F800000 (1.0), 0, 0x3F800000 (1.0), 0x3F800000 (1.0)] |
| copy_4_immutables_unmasked $5..8 = i8..11 [0x3F800000 (1.0), 0, 0x3F800000 (1.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_uniform $1 = colorRed(0) |
| copy_uniform $2 = colorGreen(0) |
| copy_constant $3 = 0xBFA00000 (-1.25) |
| smoothstep_n_floats $1 = smoothstep($1, $2, $3) |
| cmpeq_imm_float $1 = equal($1, 0x3F800000 (1.0)) |
| bitwise_and_int $0 &= $1 |
| copy_2_uniforms $1..2 = colorRed(0..1) |
| copy_2_uniforms $3..4 = colorGreen(0..1) |
| copy_2_immutables_unmasked $5..6 = i0..1 [0xBFA00000 (-1.25), 0] |
| smoothstep_n_floats $1..2 = smoothstep($1..2, $3..4, $5..6) |
| copy_2_immutables_unmasked $3..4 = i8..9 [0x3F800000 (1.0), 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 = colorRed(0..2) |
| copy_3_uniforms $4..6 = colorGreen(0..2) |
| copy_3_immutables_unmasked $7..9 = i0..2 [0xBFA00000 (-1.25), 0, 0x3F400000 (0.75)] |
| smoothstep_n_floats $1..3 = smoothstep($1..3, $4..6, $7..9) |
| copy_3_immutables_unmasked $4..6 = i8..10 [0x3F800000 (1.0), 0, 0x3F800000 (1.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 = colorRed |
| copy_4_uniforms $5..8 = colorGreen |
| copy_4_immutables_unmasked $9..12 = i0..3 [0xBFA00000 (-1.25), 0, 0x3F400000 (0.75), 0x40100000 (2.25)] |
| smoothstep_n_floats $1..4 = smoothstep($1..4, $5..8, $9..12) |
| copy_4_immutables_unmasked $5..8 = i8..11 [0x3F800000 (1.0), 0, 0x3F800000 (1.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 |