summaryrefslogtreecommitdiff
path: root/reference/piglit-tex-miplevel-selection-1d-shadow.asm
blob: 536cb144545a77f39053d8639cc4d157979f5a35 (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
37
38
39
40
41
; 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)	0x80000000, 0xbd4ccccd, 0x00000000, 0x3d4ccccd
(sy)(ss)bary.f r0.z, 0, r0.x
bary.f (ei)r0.x, 2, r0.x
mov.f32f32 r2.z, (0.000000)
mov.f32f32 r2.y, c3.x
add.f r2.w, r0.z, c4.x
add.f r3.y, r0.x, c4.y
mov.f32f32 r3.x, (0.500000)
mov.f32f32 r3.z, (0.000000)
mov.f32f32 r3.w, c2.x
mov.f32f32 r4.x, (0.000000)
mov.f32f32 r4.y, c3.x
mov.f32f32 r4.z, (0.000000)
add.f r0.w, r0.z, c4.z
add.f r1.y, r0.x, c4.w
mov.f32f32 r1.x, (0.500000)
mov.f32f32 r1.z, (0.000000)
mov.f32f32 r1.w, c2.x
mov.f32f32 r2.x, (0.000000)
samgq.s (f32)(xyzw)r2.w, r2.w, s#0, t#0
(rpt5)nop
samgq.s (f32)(xyzw)r0.x, r0.w, s#1, t#1
(sy)(ss)mul.f r1.w, r3.z, r0.w
mul.f r1.z, r3.y, r0.z
mul.f r1.y, r3.x, r0.y
mul.f r1.x, r2.w, r0.x
end
nop
nop
; FRAG: outputs: r1.x (1:0)
; FRAG: inputs: r0.x (5:0,cm=f,il=8,b=1)
; FRAG: 31 instructions, 0 half, 5 full