summaryrefslogtreecommitdiff
path: root/reference/fragProg1/fragProg1-46.asm
blob: b4e00f3f58373275267e61f74b464e1631038b86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
; options:
; FRAG: new compiler
@in(r0.x)	in0
@in(r0.y)	in1
@out(r1.x)	out0
@out(r1.y)	out1
@out(r1.z)	out2
@out(r1.w)	out3
(sy)(ss)bary.f r0.z, 3, r0.x
bary.f r0.w, 2, r0.x
bary.f r1.x, 1, r0.x
bary.f (ei)r0.x, 0, r0.x
add.f r0.y, r0.z, (neg)c0.w
add.f r0.z, r0.w, (neg)c0.z
add.f r0.w, r1.x, (neg)c0.y
add.f r0.x, r0.x, (neg)c0.x
max.f r0.y, r0.y, c1.y
max.f r0.z, r0.z, c1.y
max.f r0.w, r0.w, c1.y
max.f r0.x, r0.x, c1.y
min.f r0.y, r0.y, c2.x
min.f r0.z, r0.z, c2.x
min.f r0.w, r0.w, c2.x
min.f r0.x, r0.x, c2.x
add.f r1.w, r0.y, c1.x
add.f r1.z, r0.z, c1.x
add.f r1.y, r0.w, c1.x
add.f r1.x, r0.x, c1.x
end
nop
nop
nop
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r63.w (1:0,cm=f,il=8,b=1)
; FRAG: 21 instructions, 0 half, 2 full