| 72 instructions |
| |
| store_device_xy01 $13..16 = DeviceCoords.xy01 |
| cmpeq_imm_float $13 = equal($13, 0x3F000000 (0.5)) |
| cmpeq_imm_float $14 = equal($14, 0x3F000000 (0.5)) |
| bitwise_and_int $13 &= $14 |
| store_src_rg pos = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_4_uniforms colorRed = colorRed |
| trace_var TraceVar(colorRed) when $13 is true |
| copy_4_uniforms colorGreen = colorGreen |
| trace_var TraceVar(colorGreen) when $13 is true |
| trace_enter TraceEnter(half4 main(float2 pos)) when $13 is true |
| trace_var TraceVar(pos) when $13 is true |
| copy_constant $0 = 0 |
| copy_slot_unmasked $1 = $13 |
| copy_slot_masked $0 = Mask($1) |
| trace_scope TraceScope(+1) when $0 is true |
| trace_line TraceLine(11) when $13 is true |
| trace_enter TraceEnter(int get(int x)) when $13 is true |
| copy_constant x = 0x00000005 (7.006492e-45) |
| trace_var TraceVar(x) when $13 is true |
| copy_constant $1 = 0 |
| copy_slot_unmasked $2 = $13 |
| copy_slot_masked $1 = Mask($2) |
| trace_scope TraceScope(+1) when $1 is true |
| trace_line TraceLine(6) when $13 is true |
| copy_slot_unmasked [get].result = x |
| trace_var TraceVar([get].result) when $13 is true |
| trace_scope TraceScope(-1) when $1 is true |
| trace_exit TraceExit(int get(int x)) when $13 is true |
| copy_slot_unmasked $1 = [get].result |
| label label 0 |
| trace_enter TraceEnter(int get(int x)) when $13 is true |
| copy_constant x = 0x00000003 (4.203895e-45) |
| trace_var TraceVar(x) when $13 is true |
| copy_constant $2 = 0 |
| copy_slot_unmasked $3 = $13 |
| copy_slot_masked $2 = Mask($3) |
| trace_scope TraceScope(+1) when $2 is true |
| trace_line TraceLine(6) when $13 is true |
| copy_slot_unmasked [get].result = x |
| trace_var TraceVar([get].result) when $13 is true |
| trace_scope TraceScope(-1) when $2 is true |
| trace_exit TraceExit(int get(int x)) when $13 is true |
| copy_slot_unmasked $2 = [get].result |
| label label 0x00000001 |
| add_int $1 += $2 |
| trace_enter TraceEnter(int get(int x)) when $13 is true |
| copy_constant x = 0x00000002 (2.802597e-45) |
| trace_var TraceVar(x) when $13 is true |
| copy_constant $2 = 0 |
| copy_slot_unmasked $3 = $13 |
| copy_slot_masked $2 = Mask($3) |
| trace_scope TraceScope(+1) when $2 is true |
| trace_line TraceLine(6) when $13 is true |
| copy_slot_unmasked [get].result = x |
| trace_var TraceVar([get].result) when $13 is true |
| trace_scope TraceScope(-1) when $2 is true |
| trace_exit TraceExit(int get(int x)) when $13 is true |
| copy_slot_unmasked $2 = [get].result |
| label label 0x00000002 |
| add_int $1 += $2 |
| copy_slot_unmasked ten = $1 |
| trace_var TraceVar(ten) when $13 is true |
| trace_line TraceLine(12) when $13 is true |
| copy_slot_unmasked $1 = ten |
| cmpeq_imm_int $1 = equal($1, 0x0000000A) |
| swizzle_4 $1..4 = ($1..4).xxxx |
| copy_4_uniforms $5..8 = colorRed |
| copy_4_uniforms $9..12 = colorGreen |
| mix_4_ints $1..4 = mix($5..8, $9..12, $1..4) |
| copy_4_slots_unmasked [main].result = $1..4 |
| trace_var TraceVar([main].result) when $13 is true |
| trace_scope TraceScope(-1) when $0 is true |
| trace_exit TraceExit(half4 main(float2 pos)) when $13 is true |
| load_src src.rgba = [main].result |