Skip to content

Instantly share code, notes, and snippets.

@yvt
Created April 15, 2016 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yvt/fd2ca9cbe1f0309fa00afd3be9be3a6d to your computer and use it in GitHub Desktop.
Save yvt/fd2ca9cbe1f0309fa00afd3be9be3a6d to your computer and use it in GitHub Desktop.
fetch2.glslをPowerVR Series 6向けにコンパイルした結果.
--------------------- Disassembled HW Code --------------------
0 : fadd ft0, sh8, c75
mov i0, ft0;
1 : fmul ft0, sh9, i0
mov i0, ft0;
2 : fadd ft0, i0.flr, c75
mov i1, ft0;
3 : fadd ft0, i0.neg.flr, i0
fmul ft1, sh10, i1
mov r1, ft0;
mov r2, ft1;
4 : smp2d.fcnorm.replace drc0, sh4, r1, sh0, sh13, r0, 4;
5 : wdf drc0
--------- Constant Calculations (Executed once) ---------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment