summaryrefslogtreecommitdiff
path: root/reference/piglit-arb_framebuffer_srgb-blit-frag1.asm
blob: 8c430d0ddb88f4c93c5d9109eac65013ae577cae (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
; options:
; FRAG: new compiler
@in(r0.x)	in0
@out(r2.x)	out0
@out(r2.y)	out1
@out(r2.z)	out2
@out(r2.w)	out3
(sy)(ss)add.s r0.x, r0.x, -8
(rpt2)nop
shr.b r0.x, r0.x, 4
(rpt2)nop
cov.u32f32 r0.x, r0.x
(rpt2)nop
add.f r0.x, r0.x, c1.x
(rpt2)nop
add.f r0.x, r0.x, c1.z
(rpt2)nop
mul.f r2.x, r0.x, c1.w
(rpt2)nop
mov.f32f32 r2.y, r2.x
(rpt2)nop
mov.f32f32 r2.w, r2.y
mov.f32f32 r2.z, r2.y
end
nop
nop
nop
; FRAG: outputs: r2.x (1:0)
; FRAG: inputs: r0.x (0:0,cm=f,il=8,b=0)
; FRAG: 31 instructions, 0 half, 3 full