172 instructions 2 3store_device_xy01 $13..16 = DeviceCoords.xy01 4cmpeq_imm_float $13 = equal($13, 0x3F000000 (0.5)) 5cmpeq_imm_float $14 = equal($14, 0x3F000000 (0.5)) 6bitwise_and_int $13 &= $14 7store_src_rg pos = src.rg 8init_lane_masks CondMask = LoopMask = RetMask = true 9copy_4_uniforms colorRed = colorRed 10trace_var TraceVar(colorRed) when $13 is true 11copy_4_uniforms colorGreen = colorGreen 12trace_var TraceVar(colorGreen) when $13 is true 13trace_enter TraceEnter(half4 main(float2 pos)) when $13 is true 14trace_var TraceVar(pos) when $13 is true 15copy_constant $0 = 0 16copy_slot_unmasked $1 = $13 17copy_slot_masked $0 = Mask($1) 18trace_scope TraceScope(+1) when $0 is true 19trace_line TraceLine(11) when $13 is true 20trace_enter TraceEnter(int get(int x)) when $13 is true 21copy_constant x = 0x00000005 (7.006492e-45) 22trace_var TraceVar(x) when $13 is true 23copy_constant $1 = 0 24copy_slot_unmasked $2 = $13 25copy_slot_masked $1 = Mask($2) 26trace_scope TraceScope(+1) when $1 is true 27trace_line TraceLine(6) when $13 is true 28copy_slot_unmasked [get].result = x 29trace_var TraceVar([get].result) when $13 is true 30trace_scope TraceScope(-1) when $1 is true 31trace_exit TraceExit(int get(int x)) when $13 is true 32copy_slot_unmasked $1 = [get].result 33label label 0 34trace_enter TraceEnter(int get(int x)) when $13 is true 35copy_constant x = 0x00000003 (4.203895e-45) 36trace_var TraceVar(x) when $13 is true 37copy_constant $2 = 0 38copy_slot_unmasked $3 = $13 39copy_slot_masked $2 = Mask($3) 40trace_scope TraceScope(+1) when $2 is true 41trace_line TraceLine(6) when $13 is true 42copy_slot_unmasked [get].result = x 43trace_var TraceVar([get].result) when $13 is true 44trace_scope TraceScope(-1) when $2 is true 45trace_exit TraceExit(int get(int x)) when $13 is true 46copy_slot_unmasked $2 = [get].result 47label label 0x00000001 48add_int $1 += $2 49trace_enter TraceEnter(int get(int x)) when $13 is true 50copy_constant x = 0x00000002 (2.802597e-45) 51trace_var TraceVar(x) when $13 is true 52copy_constant $2 = 0 53copy_slot_unmasked $3 = $13 54copy_slot_masked $2 = Mask($3) 55trace_scope TraceScope(+1) when $2 is true 56trace_line TraceLine(6) when $13 is true 57copy_slot_unmasked [get].result = x 58trace_var TraceVar([get].result) when $13 is true 59trace_scope TraceScope(-1) when $2 is true 60trace_exit TraceExit(int get(int x)) when $13 is true 61copy_slot_unmasked $2 = [get].result 62label label 0x00000002 63add_int $1 += $2 64copy_slot_unmasked ten = $1 65trace_var TraceVar(ten) when $13 is true 66trace_line TraceLine(12) when $13 is true 67copy_slot_unmasked $1 = ten 68cmpeq_imm_int $1 = equal($1, 0x0000000A) 69swizzle_4 $1..4 = ($1..4).xxxx 70copy_4_uniforms $5..8 = colorRed 71copy_4_uniforms $9..12 = colorGreen 72mix_4_ints $1..4 = mix($5..8, $9..12, $1..4) 73copy_4_slots_unmasked [main].result = $1..4 74trace_var TraceVar([main].result) when $13 is true 75trace_scope TraceScope(-1) when $0 is true 76trace_exit TraceExit(half4 main(float2 pos)) when $13 is true 77load_src src.rgba = [main].result 78