diff options
Diffstat (limited to 'reference/ffox-otmc/ffox-otmc-30.asm')
-rw-r--r-- | reference/ffox-otmc/ffox-otmc-30.asm | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/reference/ffox-otmc/ffox-otmc-30.asm b/reference/ffox-otmc/ffox-otmc-30.asm index ca29128..8f87710 100644 --- a/reference/ffox-otmc/ffox-otmc-30.asm +++ b/reference/ffox-otmc/ffox-otmc-30.asm @@ -1,34 +1,27 @@ ; options: -; FRAG: new compiler +; FRAG: TGSI compiler @in(r0.x) in0 @in(r0.y) in1 -@out(r0.w) out0 -@out(r1.x) out1 -@out(r1.y) out2 -@out(r1.z) out3 +@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.x, 1, r0.x -mov.f32f32 r0.y, c0.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 -mov.f32f32 r0.z, r0.z -mov.f32f32 r0.x, r0.x -mov.f32f32 r1.z, r0.y nop -mov.f32f32 r0.y, r0.z -mov.f32f32 r0.z, r0.x -(rpt5)nop -sam (f32)(xyz)r1.w, r0.y, s#0, t#0 -(sy)mov.f32f32 r0.x, r1.w -(ss)mov.f32f32 r0.y, r2.x -mov.f32f32 r0.z, r2.y nop -mov.f32f32 r1.y, r0.x -mov.f32f32 r1.x, r0.y -mov.f32f32 r0.w, r0.z -end -; FRAG: outputs: r0.w (1:0) +; FRAG: outputs: r1.x (1:0) ; FRAG: inputs: r0.x (5:9,cm=f,il=8,b=1) -; FRAG: 25 instructions, 0 half, 3 full +; FRAG: 13 instructions, 0 half, 2 full ; pos (bary): r0.x -; color: r0.w +; color: r1.x |