xboxscene.org forums

Author Topic: Vp40 / Fp30 Shaders  (Read 748 times)

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Vp40 / Fp30 Shaders
« on: November 28, 2007, 10:01:00 AM »

Since I've chosen NV40 family for PC0 platform graphic card main support, study is almost the same as the one currently in progress for the PS3 RSX.

It appears that a good choice is, once again -like with pbkit for xbox1-, to use Cg compiler (cgc.exe from free Nvidia SDK 9.5), with profile=vp40 (for .cg vertex shader source) and profile=fp30 (for .cg pixel shader source).

I'm actually trying (not easy) to contribute to the global effort to create a low level assembler that will turn the vp40 or fp30 assembler text output from cg into native NVidia binary micro-code (with the help of the findings coming from Nouveau project). Official NVidia grammar of assembler language could be found. That's a good start.

Once this wonderful tool is made. It will be instantly useful for PC0 platform too.

http://www.nvidia.co...tex_program.txt
http://www.nvidia.co...ex_program2.txt
http://www.nvidia.co...ex_program3.txt

http://www.nvidia.co...ent_program.txt
http://www.nvidia.co...nt_program2.txt

EDIT: IronPeter is very fast and already released alpha version of assemblers (to use with his ps3rsx library).
Logged