xbox-scene.com archived forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

xbox-scene.com forum restored.  registration disabled.  thanks to xboxexpert for the db dump and netham45 for cleaning it up!

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

openxdkman

  • Guest
Vp40 / Fp30 Shaders
« on: November 28, 2007, 09:01:53 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).




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


Logged
 

Page created in 0.118 seconds with 15 queries.