summaryrefslogtreecommitdiff
path: root/reference/xonotic-gl2/xonotic-glx-gl2-34.asm
blob: 50c6e03b1e28be486163e1bf0672f556ab12116c (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
; 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
@const(c4.x)	0x00000000, 0x00000000, 0x00000000, 0x00000000
(sy)(ss)bary.f r0.z, 4, r0.x
bary.f r0.w, 5, r0.x
bary.f r1.x, 2, r0.x
bary.f r1.y, 1, r0.x
bary.f (ei)r0.x, 0, r0.x
(rpt2)nop
sam (f32)(xyzw)r2.x, r0.z, s#0, t#0
mad.f32 r0.y, c2.z, r1.x, c1.z
(ss)mad.f32 r0.z, c2.y, r1.y, c1.y
mad.f32 r0.x, c2.x, r0.x, c1.x
(sy)mul.f r1.w, r2.w, c3.x
mul.f r1.z, r2.z, r0.y
mul.f r1.y, r2.y, r0.z
mul.f r1.x, r2.x, r0.x
end
nop
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r0.x (5:20,cm=f,il=8,b=1) r1.x (5:21,cm=f,il=12,b=1)
; FRAG: 17 instructions, 0 half, 3 full