Jump to content


Photo

Vp40 / Fp30 Shaders


  • Please log in to reply
No replies to this topic

#1 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 28 November 2007 - 06:01 PM

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).

Edited by openxdkman, 08 February 2008 - 10:23 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users