blob: 7e066f402fec7c0ba919bb3a1432d456c7305c7f [file] [log] [blame]
55 instructions
store_src_rg coords = src.rg
init_lane_masks CondMask = LoopMask = RetMask = true
splat_4_constants a = 0
splat_4_constants b = 0
splat_4_constants c = 0
splat_4_constants d = 0
copy_4_uniforms b = colorRed
copy_4_uniforms c = colorGreen
copy_4_uniforms x = colorBlack
copy_4_slots_unmasked d = x
label label 0
copy_4_uniforms a = colorWhite
copy_4_slots_unmasked $0..3 = a
copy_4_slots_unmasked $4..7 = a
mul_4_floats $0..3 *= $4..7
copy_4_slots_unmasked a = $0..3
copy_4_slots_unmasked $0..3 = b
copy_4_slots_unmasked $4..7 = b
mul_4_floats $0..3 *= $4..7
copy_4_slots_unmasked b = $0..3
copy_4_slots_unmasked $0..3 = c
copy_4_slots_unmasked $4..7 = c
mul_4_floats $0..3 *= $4..7
copy_4_slots_unmasked c = $0..3
copy_4_slots_unmasked $0..3 = d
copy_4_slots_unmasked $4..7 = d
mul_4_floats $0..3 *= $4..7
copy_4_slots_unmasked d = $0..3
copy_4_slots_unmasked $0..3 = a
copy_4_uniforms $4..7 = colorWhite
cmpeq_4_floats $0..3 = equal($0..3, $4..7)
bitwise_and_2_ints $0..1 &= $2..3
bitwise_and_int $0 &= $1
copy_4_slots_unmasked $1..4 = b
copy_4_uniforms $5..8 = colorRed
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_4_slots_unmasked $1..4 = c
copy_4_uniforms $5..8 = colorGreen
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_4_slots_unmasked $1..4 = d
copy_4_uniforms $5..8 = colorBlack
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