summaryrefslogtreecommitdiff
path: root/reference/webgl-water/webgl-water-34.asm
blob: d3d8a07a8e2070bc4a1e921f5d6bd1f967e299b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; 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, 0, r0.x
bary.f (ei)r0.x, 1, r0.x
(rpt1)nop
mov.f32f32 r0.y, r0.z
mov.f32f32 r0.z, r0.x
(rpt5)nop
sam (f32)(xyzw)r1.x, r0.y, s#0, t#0
end
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r0.x (5:0,cm=f,il=8,b=1)
; FRAG: 14 instructions, 0 half, 2 full