summaryrefslogtreecommitdiff
path: root/reference/webgl-blob-frag.asm
blob: aba1ca994d81b135ea920d8b8a0117da53616d94 (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
; options:
; FRAG: TGSI 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(c0.x)	0x3f800000, 0x00000000, 0x00000000, 0x00000000
(sy)(ss)bary.f r0.z, 0, r0.x
bary.f (ei)r0.w, 1, r0.x
mov.f32f32 r1.w, c0.x
(rpt4)nop
sam (f32)(xyz)r0.x, r0.z, s#0, t#0
(sy)mov.f32f32 r1.z, r0.x
mov.f32f32 r1.y, r0.y
mov.f32f32 r1.x, r0.z
end
nop
nop
nop
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r0.x (5:20,cm=f,il=8,b=1)
; FRAG: 13 instructions, 0 half, 2 full
; pos (bary): r0.x
; color: r1.x